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

TD.Query.EditChatWelcomeMessage

Synopsis

Documentation

data EditChatWelcomeMessage Source #

Edits a welcome message of a chat; requires can_send_welcome_messages administrator right in the chat. Returns Ok

Constructors

EditChatWelcomeMessage 

Fields

  • chat_id :: Maybe Int

    The identifier of the chat

  • welcome_message_id :: Maybe Int

    The identifier of the welcome message

  • input_message_content :: Maybe InputMessageContent

    New content of the message. Must be one of the following types: inputMessageText, inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto, inputMessageRichMessage, inputMessageSticker, inputMessageVideo, inputMessageVideoNote, inputMessageVoiceNote