teleproto - v1.229.0
    Preparing search index...

    Interface MessagesSetChatWallPaperParams

    interface MessagesSetChatWallPaperParams {
        forBoth?: boolean;
        id?: number;
        peer: EntityLike;
        revert?: boolean;
        settings?: WallPaperSettingsIn;
        wallpaper?: TypeInputWallPaperIn;
    }
    Index
    forBoth?: boolean

    Only for Premium users, sets the specified wallpaper for both users of the chat, without requiring confirmation from the other user.

    id?: number

    If the wallpaper was obtained from a messageActionSetChatWallPaper service message, must contain the ID of that message.

    peer: EntityLike

    The private chat where the wallpaper will be set

    revert?: boolean

    If we don't like the new wallpaper the other user of the chat has chosen for us using the for_both flag, we can re-set our previous wallpaper just on our side using this flag.

    Wallpaper settings, obtained as described in the wallpaper documentation » or from messageActionSetChatWallPaper . wallpaper . settings .

    The wallpaper » , obtained as described in the wallpaper documentation » ; must not be provided when installing a wallpaper obtained from a messageActionSetChatWallPaper service message ( id must be provided, instead).