mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.3 KiB
1.3 KiB
title | description | nav_exclude | image |
---|---|---|---|
updatePeerWallpaper | The wallpaper » of a given peer has changed. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updatePeerWallpaper
The wallpaper » of a given peer has changed.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
wallpaper_overridden | Bool | Optional | Whether the other user has chosen a custom wallpaper for us using messages.setChatWallPaper and the for_both flag, see here » for more info. |
peer | long | Yes | The peer where the wallpaper has changed. |
wallpaper | WallPaper | Optional | The new wallpaper, if none the wallpaper was removed and the default wallpaper should be used. |
Type: Update
Example:
$updatePeerWallpaper = ['_' => 'updatePeerWallpaper', 'wallpaper_overridden' => Bool, 'peer' => long, 'wallpaper' => WallPaper];