Package it.tdlight.jni
Class TdApi.UpdateChatLastMessage
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateChatLastMessage
- Enclosing class:
- TdApi
public static class TdApi.UpdateChatLastMessage extends TdApi.Update
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
Fields Modifier and Type Field Description long
chatId
Chat identifier.static int
CONSTRUCTOR
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 Summary
Constructors Constructor 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.UpdateChatLastMessage(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-