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

TD.Query.SetChatDraftMessage

Synopsis

Documentation

data SetChatDraftMessage Source #

Changes the draft message in a chat or a topic. Returns Ok

Constructors

SetChatDraftMessage 

Fields

  • chat_id :: Maybe Int

    Chat identifier

  • topic_id :: Maybe MessageTopic

    Topic in which the draft will be changed; pass null to change the draft for the chat itself

  • draft_message :: Maybe DraftMessage

    New draft message; pass null to remove the draft. All files in draft message content must be of the type inputFileLocal. Media thumbnails and captions are ignored