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
public static class TdApi.UpdateChatPosition extends TdApi.Update
The position of a chat in a chat list has changed. Instead of this update updateChatLastMessage or updateChatDraftMessage might be sent.
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.ChatPositionpositionNew chat position.
-
Constructor Summary
Constructors Constructor Description UpdateChatPosition()The 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
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.
-
position
public TdApi.ChatPosition position
New chat position. If new order is 0, then the chat needs to be removed from the list.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpdateChatPosition
public UpdateChatPosition()
The position of a chat in a chat list has changed. Instead of this update updateChatLastMessage or updateChatDraftMessage might be sent.
-
UpdateChatPosition
public UpdateChatPosition(long chatId, TdApi.ChatPosition position)The position of a chat in a chat list has changed. Instead of this update updateChatLastMessage or updateChatDraftMessage might be sent.- Parameters:
chatId- Chat identifier.position- New chat position. If new order is 0, then the chat needs to be removed from the list.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-