telegram api constructor · layer 229 · #5060a3f4

messageActionSetChatWallPaper

The wallpaper » of the current chat was changed.

definition

messageActionSetChatWallPaper#5060a3f4 flags:# same:flags.0?true for_both:flags.1?true wallpaper:WallPaper = MessageAction;

parameters

nametypedescription
flags#Flags, see TL conditional fields
sameflags.0?trueIf set, indicates the user applied a wallpaper » previously sent by the other user in a messageActionSetChatWallPaper message.
for_bothflags.1?trueIf 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).
wallpaperWallPaperNew wallpaper

type

MessageAction · 68 other constructors

history

present in layers 158–229 · constructor id changed 1×

idlayers
#bc44a927158–166
#5060a3f4167–229