Class TdApi.InputMessageReplyToMessage

Enclosing class:
TdApi

public static class TdApi.InputMessageReplyToMessage extends TdApi.InputMessageReplyTo
Describes a message to be replied in the same chat and forum topic.
  • Field Details

    • messageId

      public long messageId
      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.canBeReplied.
    • quote

      public TdApi.InputTextQuote quote
      Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats.
    • checklistTaskId

      public int checklistTaskId
      Identifier of the checklist task in the message to be replied; pass 0 to reply to the whole message.
    • pollOptionId

      public String pollOptionId
      Identifier of the poll option in the message to be replied; pass an empty string if none.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InputMessageReplyToMessage

      public InputMessageReplyToMessage()
      Describes a message to be replied in the same chat and forum topic.
    • InputMessageReplyToMessage

      public InputMessageReplyToMessage(long messageId, TdApi.InputTextQuote quote, int checklistTaskId, String pollOptionId)
      Describes a message to be replied in the same chat and forum topic.
      Parameters:
      messageId - 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.canBeReplied.
      quote - Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats.
      checklistTaskId - Identifier of the checklist task in the message to be replied; pass 0 to reply to the whole message.
      pollOptionId - Identifier of the poll option in the message to be replied; pass an empty string if none.
  • Method Details