Class TdApi.UpdateChatDraftMessage
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Update
dev.voroby.springframework.telegram.client.TdApi.UpdateChatDraftMessage
- Enclosing class:
- TdApi
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
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.The new draft message; may be null if none.The new chat positions in the chat lists. -
Constructor Summary
ConstructorDescriptionA chat draft has changed.UpdateChatDraftMessage
(long chatId, TdApi.DraftMessage draftMessage, TdApi.ChatPosition[] positions) A chat draft has changed. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
draftMessage
The new draft message; may be null if none. -
positions
The new chat positions in the chat lists. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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 if none.positions
- The new chat positions in the chat lists.
-
-
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-