Skip to content

deleteChatBackground

Function · TDLib 1.8.67 · d1085f9c

Deletes background in a specific chat

deleteChatBackground(
  chat_id: int53,
  restore_previous: Bool
) → Ok

chat_id

int53

Chat identifier

restore_previous

Bool

Pass true to restore previously set background. Can be used only in private and secret chats with non-deleted users if userFullInfo.set_chat_background == true. Supposed to be used from messageChatSetBackground messages with the currently set background that was set for both sides by the other user