java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateDeleteMessages
- Enclosing class:
- TdApi
Some messages were deleted.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.boolean
True, if the messages are deleted only from the cache and can possibly be retrieved again in the future.boolean
True, if the messages are permanently deleted by a user (as opposed to just becoming inaccessible).long[]
Identifiers of the deleted messages. -
Constructor Summary
ConstructorDescriptionSome messages were deleted.UpdateDeleteMessages
(long chatId, long[] messageIds, boolean isPermanent, boolean fromCache) Some messages were deleted.UpdateDeleteMessages
(DataInput input) Some messages were deleted. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageIds
public long[] messageIdsIdentifiers of the deleted messages. -
isPermanent
public boolean isPermanentTrue, if the messages are permanently deleted by a user (as opposed to just becoming inaccessible). -
fromCache
public boolean fromCacheTrue, if the messages are deleted only from the cache and can possibly be retrieved again in the future. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateDeleteMessages
public UpdateDeleteMessages()Some messages were deleted. -
UpdateDeleteMessages
public UpdateDeleteMessages(long chatId, long[] messageIds, boolean isPermanent, boolean fromCache) Some messages were deleted.- Parameters:
chatId
- Chat identifier.messageIds
- Identifiers of the deleted messages.isPermanent
- True, if the messages are permanently deleted by a user (as opposed to just becoming inaccessible).fromCache
- True, if the messages are deleted only from the cache and can possibly be retrieved again in the future.
-
UpdateDeleteMessages
Some messages were deleted.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-