public static class TdApi.UpdateChatPosition extends TdApi.Update
TdApi.Update.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ChatPosition |
position
New chat position.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public TdApi.ChatPosition position
public static final int CONSTRUCTOR
public UpdateChatPosition()
public UpdateChatPosition(long chatId, TdApi.ChatPosition position)
chatId
- Chat identifier.position
- New chat position. If new order is 0, then the chat needs to be removed from the list.public int getConstructor()
getConstructor
in class TdApi.Update