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
int
Point in time (Unix timestamp) when the user rights was changed.If user has joined the chat using an invite link, the invite link; may be null.New chat member.Previous chat member. -
Constructor Summary
ConstructorDescriptionUser rights changed in a chat; for bots only.UpdateChatMember
(long chatId, long actorUserId, int date, TdApi.ChatInviteLink inviteLink, 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
Methods 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 was changed. -
inviteLink
If user has joined the chat using an invite link, the invite link; may be null. -
oldChatMember
Previous chat member. -
newChatMember
New chat member. -
CONSTRUCTOR
public static final int CONSTRUCTOR- 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, TdApi.ChatMember oldChatMember, TdApi.ChatMember newChatMember) User rights changed in a chat; for bots only.- Parameters:
chatId
- long Chat identifier.actorUserId
- long Identifier of the user, changing the rights.date
- int Point in time (Unix timestamp) when the user rights was changed.inviteLink
- ChatInviteLink If user has joined the chat using an invite link, the invite link; may be null.oldChatMember
- ChatMember Previous chat member.newChatMember
- ChatMember New chat member.
-
UpdateChatMember
User rights changed in a chat; for bots only.- 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()
-