haskell-tdlib-2.0.47.0
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

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

InputMessageReplyToStory

Describes a story to be replied

Fields

  • story_sender_chat_id :: Maybe Int

    The identifier of the sender of the story. Currently, stories can be replied only in the sender's chat and channel stories can't be replied

  • story_id :: Maybe Int

    The identifier of the story