Skip to content

messages.setChatWallPaper

Layer 225

Constructor ID: 0x8ffacae1
Returns: Updates

Parameters

NameTypeDescription
for_bothbool (flags.3, optional)
revertbool (flags.4, optional)
peerInputPeer
wallpaperInputWallPaper (flags.0, optional)
settingsWallPaperSettings (flags.2, optional)
idint32 (flags.1, optional)

Example

go
result, err := client.Raw(&tg.SetChatWallPaperRequest{
    for_both: false,
    revert: false,
    peer: nil, // InputPeer
    wallpaper: nil, // InputWallPaper
    settings: nil, // WallPaperSettings
    id: 0,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.