haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.DeleteChatBackground

Synopsis

Documentation

data DeleteChatBackground Source #

Deletes background in a specific chat. Returns Ok

Constructors

DeleteChatBackground 

Fields

  • chat_id :: Maybe Int

    Chat identifier

  • restore_previous :: Maybe 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