public static class TdApi.UpdateChatLastMessage 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.Message |
lastMessage
The new last message in the chat; may be null.
|
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() |
toString
public long chatId
@Nullable 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.positions
- The new chat positions in the chat lists.public int getConstructor()
getConstructor
in class TdApi.Update