Class TdApi.SetChatDraftMessage

Enclosing class:
TdApi

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

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • messageThreadId

      public long messageThreadId
      If not 0, a message thread identifier in which the draft was changed.
    • draftMessage

      public TdApi.DraftMessage draftMessage
      New draft message; may be null.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • SetChatDraftMessage

      public SetChatDraftMessage()
      Changes the draft message in a chat.

      Returns Ok

    • SetChatDraftMessage

      public SetChatDraftMessage​(long chatId, long messageThreadId, TdApi.DraftMessage draftMessage)
      Changes the draft message in a chat.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      messageThreadId - long If not 0, a message thread identifier in which the draft was changed.
      draftMessage - DraftMessage New draft message; may be null.
    • SetChatDraftMessage

      public SetChatDraftMessage​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details