public static class TdApi.UpdateChatMember extends TdApi.Update
TdApi.Update.Constructors
Modifier and Type | Field and Description |
---|---|
long |
actorUserId
Identifier of the user, changing the rights.
|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
date
Point in time (Unix timestamp) when the user rights was changed.
|
TdApi.ChatInviteLink |
inviteLink
If user has joined the chat using an invite link, the invite link; may be null.
|
TdApi.ChatMember |
newChatMember
New chat member.
|
TdApi.ChatMember |
oldChatMember
Previous chat member.
|
Constructor and Description |
---|
UpdateChatMember()
User 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long actorUserId
public int date
@Nullable public TdApi.ChatInviteLink inviteLink
public TdApi.ChatMember oldChatMember
public TdApi.ChatMember newChatMember
public static final int CONSTRUCTOR
public UpdateChatMember()
public UpdateChatMember(long chatId, long actorUserId, int date, TdApi.ChatInviteLink inviteLink, TdApi.ChatMember oldChatMember, TdApi.ChatMember newChatMember)
chatId
- Chat identifier.actorUserId
- Identifier of the user, changing the rights.date
- Point 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.public int getConstructor()
getConstructor
in class TdApi.Update