Class TdApi.DraftMessage

  • Enclosing class:
    TdApi

    public static class TdApi.DraftMessage
    extends TdApi.Object
    Contains information about a message draft.
    • Field Detail

      • replyToMessageId

        public long replyToMessageId
        Identifier of the message to reply to; 0 if none.
      • inputMessageText

        public TdApi.InputMessageContent inputMessageText
        Content of the message draft; this should always be of type inputMessageText.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DraftMessage

        public DraftMessage()
        Default constructor.
      • DraftMessage

        public DraftMessage​(long replyToMessageId,
                            TdApi.InputMessageContent inputMessageText)
        Constructor for initialization of all fields.
        Parameters:
        replyToMessageId - Identifier of the message to reply to; 0 if none.
        inputMessageText - Content of the message draft; this should always be of type inputMessageText.