Raw.MessageActionSetChatWallPaper
The wallpaper of the current chat was changed.
messageActionSetChatWallPaper#5060a3f4 flags:# same:flags.0?true for_both:flags.1?true wallpaper:WallPaper = MessageAction;
export namespace Raw {
export class MessageActionSetChatWallPaper {
constructor(params: { same?: boolean; forBoth?: boolean; wallpaper: Raw.TypeWallPaper }) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x5060a3f4
Property
same
: boolean or undefinedIf set, indicates the user applied a wallpaper previously sent by the other user in a messageactionsetchatwallpaper message.
forBoth
: boolean or undefinedIf set, indicates the wallpaper was forcefully applied for both sides, without explicit confirmation from the other side. if the message is incoming, and we did not like the new wallpaper the other user has chosen for us, we can re-set our previous wallpaper just on our side, by invoking messages.setchatwallpaper, providing only the revert flag (and obviously the peer parameter).
wallpaper
: Raw.TypeWallPaperNew wallpaper