Package org.drinkless.tdlib
Class TdApi.UpdateChatPosition
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Update
org.drinkless.tdlib.TdApi.UpdateChatPosition
- Enclosing class:
- TdApi
The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.New chat position. -
Constructor Summary
ConstructorsConstructorDescriptionThe position of a chat in a chat list has changed.UpdateChatPosition(long chatId, TdApi.ChatPosition position) The position of a chat in a chat list has changed. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
position
New chat position. If new order is 0, then the chat needs to be removed from the list. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateChatPosition
public UpdateChatPosition()The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update. -
UpdateChatPosition
The position of a chat in a chat list has changed. An updateChatLastMessage or updateChatDraftMessage update might be sent instead of the update.- Parameters:
chatId- Chat identifier.position- New chat position. If new order is 0, then the chat needs to be removed from the list.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-