public static class TdApi.UpdateChatLastMessage extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.Message |
lastMessage
The new last message in the chat; may be null if the last message became unknown.
|
TdApi.ChatPosition[] |
positions
The new chat positions in the chat lists.
|
| Constructor and Description |
|---|
UpdateChatLastMessage()
The last message of a chat was changed.
|
UpdateChatLastMessage(long chatId,
TdApi.Message lastMessage,
TdApi.ChatPosition[] positions)
The last message of a chat was changed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public TdApi.Message lastMessage
public TdApi.ChatPosition[] positions
public static final int CONSTRUCTOR
public UpdateChatLastMessage()
public UpdateChatLastMessage(long chatId,
TdApi.Message lastMessage,
TdApi.ChatPosition[] positions)
chatId - Chat identifier.lastMessage - The new last message in the chat; may be null if the last message became unknown. While the last message is unknown, new messages can be added to the chat without corresponding updateNewMessage update.positions - The new chat positions in the chat lists.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object