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

TD.Data.InputMessageReplyTo

Synopsis

Documentation

data InputMessageReplyTo Source #

Contains information about the message or the story to be replied

Constructors

InputMessageReplyToMessage

Describes a message to be replied in the same chat and forum topic

Fields

  • message_id :: Maybe Int

    The identifier of the message to be replied in the same chat and forum topic. A message can be replied in the same chat and forum topic only if messageProperties.can_be_replied

  • quote :: Maybe InputTextQuote

    Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats

  • checklist_task_id :: Maybe Int

    Identifier of the checklist task in the message to be replied; pass 0 to reply to the whole message

InputMessageReplyToExternalMessage

Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats

Fields

  • chat_id :: Maybe Int

    The identifier of the chat to which the message to be replied belongs

  • message_id :: Maybe Int

    The identifier of the message to be replied in the same chat and forum topic. A message can be replied in the same chat and forum topic only if messageProperties.can_be_replied

  • quote :: Maybe InputTextQuote

    Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats

  • checklist_task_id :: Maybe Int

    Identifier of the checklist task in the message to be replied; pass 0 to reply to the whole message

InputMessageReplyToStory

Describes a story to be replied

Fields

  • story_poster_chat_id :: Maybe Int

    The identifier of the poster of the story. Currently, stories can be replied only in the chat that posted the story; channel stories can't be replied

  • story_id :: Maybe Int

    The identifier of the story