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.
    • 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)
      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.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR