haskell-tdlib-2.1.11.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.ProcessChatHasProtectedContentDisableRequest

Synopsis

Documentation

data ProcessChatHasProtectedContentDisableRequest Source #

Processes request to disable has_protected_content in a chat. Returns Ok

Constructors

ProcessChatHasProtectedContentDisableRequest 

Fields

  • chat_id :: Maybe Int

    Chat identifier

  • request_message_id :: Maybe Int

    Identifier of the message with the request. The message must be incoming and has content of the type messageChatHasProtectedContentDisableRequested

  • approve :: Maybe Bool

    Pass true to approve the request; pass false to reject the request