java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateChatLastMessage
- Enclosing class:
- TdApi
The last message of a chat was changed.
If lastMessage is null, then the last
message in the chat became unknown.
Some new unknown messages might be
added to the chat in this case.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
The new last message in the chat; may be null.The new chat positions in the chat lists. -
Constructor Summary
ConstructorDescriptionThe last message of a chat was changed.UpdateChatLastMessage
(long chatId, TdApi.Message lastMessage, TdApi.ChatPosition[] positions) The last message of a chat was changed.UpdateChatLastMessage
(DataInput input) The last message of a chat was changed. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
lastMessage
The new last message in the chat; may be null. -
positions
The new chat positions in the chat lists. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
UpdateChatLastMessage
public UpdateChatLastMessage()The last message of a chat was changed. If lastMessage is null, then the last message in the chat became unknown. Some new unknown messages might be added to the chat in this case. -
UpdateChatLastMessage
public UpdateChatLastMessage(long chatId, TdApi.Message lastMessage, TdApi.ChatPosition[] positions) The last message of a chat was changed. If lastMessage is null, then the last message in the chat became unknown. Some new unknown messages might be added to the chat in this case.- Parameters:
chatId
- long Chat identifier.lastMessage
- Message The new last message in the chat; may be null.positions
- ChatPosition[] The new chat positions in the chat lists.
-
UpdateChatLastMessage
The last message of a chat was changed. If lastMessage is null, then the last message in the chat became unknown. Some new unknown messages might be added to the chat in this case.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-