Package org.drinkless.tdlib
Class TdApi.UpdateChatDraftMessage
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Update
-
- org.drinkless.tdlib.TdApi.UpdateChatDraftMessage
-
- Enclosing class:
- TdApi
public static class TdApi.UpdateChatDraftMessage extends TdApi.Update
A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update mustn't be applied.
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.DraftMessagedraftMessageThe new draft message; may be null.TdApi.ChatPosition[]positionsThe new chat positions in the chat lists.
-
Constructor Summary
Constructors Constructor Description UpdateChatDraftMessage()A chat draft has changed.UpdateChatDraftMessage(long chatId, TdApi.DraftMessage draftMessage, TdApi.ChatPosition[] positions)A chat draft has changed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier.
-
draftMessage
public TdApi.DraftMessage draftMessage
The new draft message; may be null.
-
positions
public TdApi.ChatPosition[] positions
The new chat positions in the chat lists.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpdateChatDraftMessage
public UpdateChatDraftMessage()
A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update mustn't be applied.
-
UpdateChatDraftMessage
public UpdateChatDraftMessage(long chatId, TdApi.DraftMessage draftMessage, TdApi.ChatPosition[] positions)A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update mustn't be applied.- Parameters:
chatId- Chat identifier.draftMessage- The new draft message; may be null.positions- The new chat positions in the chat lists.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-