public static class TdApi.UpdateChatMember extends TdApi.Update
| 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 were 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.
|
boolean |
viaChatFolderInviteLink
True, if the user has joined the chat using an invite link for a chat folder.
|
boolean |
viaJoinRequest
True, if the user has joined the chat after sending a join request and being approved by an administrator.
|
| Constructor and Description |
|---|
UpdateChatMember()
User rights changed in a chat; for bots only.
|
UpdateChatMember(long chatId,
long actorUserId,
int date,
TdApi.ChatInviteLink inviteLink,
boolean viaJoinRequest,
boolean viaChatFolderInviteLink,
TdApi.ChatMember oldChatMember,
TdApi.ChatMember newChatMember)
User rights changed in a chat; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long actorUserId
public int date
public TdApi.ChatInviteLink inviteLink
public boolean viaJoinRequest
public boolean viaChatFolderInviteLink
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,
boolean viaJoinRequest,
boolean viaChatFolderInviteLink,
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 were changed.inviteLink - If user has joined the chat using an invite link, the invite link; may be null.viaJoinRequest - True, if the user has joined the chat after sending a join request and being approved by an administrator.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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object