java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateChatMember
- Enclosing class:
- TdApi
User rights changed in a chat; for bots only.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the user, changing the rights.long
Chat identifier.static final int
Identifier uniquely determining type of the object.int
Point in time (Unix timestamp) when the user rights were changed.If user has joined the chat using an invite link, the invite link; may be null.New chat member.Previous chat member.boolean
True, if the user has joined the chat using an invite link for a chat folder. -
Constructor Summary
ConstructorDescriptionUser rights changed in a chat; for bots only.UpdateChatMember
(long chatId, long actorUserId, int date, TdApi.ChatInviteLink inviteLink, boolean viaChatFolderInviteLink, TdApi.ChatMember oldChatMember, TdApi.ChatMember newChatMember) User rights changed in a chat; for bots only.UpdateChatMember
(DataInput input) User rights changed in a chat; for bots only. -
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. -
actorUserId
public long actorUserIdIdentifier of the user, changing the rights. -
date
public int datePoint in time (Unix timestamp) when the user rights were changed. -
inviteLink
If user has joined the chat using an invite link, the invite link; may be null. -
viaChatFolderInviteLink
public boolean viaChatFolderInviteLinkTrue, if the user has joined the chat using an invite link for a chat folder. -
oldChatMember
Previous chat member. -
newChatMember
New chat member. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateChatMember
public UpdateChatMember()User rights changed in a chat; for bots only. -
UpdateChatMember
public UpdateChatMember(long chatId, long actorUserId, int date, TdApi.ChatInviteLink inviteLink, boolean viaChatFolderInviteLink, TdApi.ChatMember oldChatMember, TdApi.ChatMember newChatMember) User rights changed in a chat; for bots only.- Parameters:
chatId
- Chat identifier.actorUserId
- Identifier of the user, changing the rights.date
- Point in time (Unix timestamp) when the user rights were changed.inviteLink
- If user has joined the chat using an invite link, the invite link; may be null.viaChatFolderInviteLink
- True, if the user has joined the chat using an invite link for a chat folder.oldChatMember
- Previous chat member.newChatMember
- New chat member.
-
UpdateChatMember
User rights changed in a chat; for bots only.- 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()
-