haskell-tdlib-2.0.53.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SetMessageSenderBotVerification

Synopsis

Documentation

data SetMessageSenderBotVerification Source #

Changes the verification status of a user or a chat by an owned bot. Returns Ok

Constructors

SetMessageSenderBotVerification 

Fields

  • bot_user_id :: Maybe Int

    Identifier of the owned bot, which will verify the user or the chat

  • verified_id :: Maybe MessageSender

    Identifier of the user or the supergroup or channel chat, which will be verified by the bot

  • custom_description :: Maybe Text

    Custom description of verification reason; 0-getOption("bot_verification_custom_description_length_max"). If empty, then "was verified by organization "organization_name"" will be used as description. Can be specified only if the bot is allowed to provide custom description