Class TdApi.SetChatDraftMessage

  • Enclosing class:
    TdApi

    public static class TdApi.SetChatDraftMessage
    extends TdApi.Function
    Changes the draft message in a chat.

    Returns Ok

    • Field Detail

      • chatId

        public long chatId
        Chat identifier.
      • CONSTRUCTOR

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

      • SetChatDraftMessage

        public SetChatDraftMessage()
        Default constructor.
      • SetChatDraftMessage

        public SetChatDraftMessage​(long chatId,
                                   TdApi.DraftMessage draftMessage)
        Constructor for initialization of all fields.
        Parameters:
        chatId - Chat identifier.
        draftMessage - New draft message; may be null.