public static class TdApi.ChatEventMemberPromoted extends TdApi.ChatEventAction
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ChatMemberStatus |
newStatus
New status of the chat member.
|
TdApi.ChatMemberStatus |
oldStatus
Previous status of the chat member.
|
long |
userId
Affected chat member user identifier.
|
| Constructor and Description |
|---|
ChatEventMemberPromoted()
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
|
ChatEventMemberPromoted(long userId,
TdApi.ChatMemberStatus oldStatus,
TdApi.ChatMemberStatus newStatus)
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public TdApi.ChatMemberStatus oldStatus
public TdApi.ChatMemberStatus newStatus
public static final int CONSTRUCTOR
public ChatEventMemberPromoted()
public ChatEventMemberPromoted(long userId,
TdApi.ChatMemberStatus oldStatus,
TdApi.ChatMemberStatus newStatus)
userId - Affected chat member user identifier.oldStatus - Previous status of the chat member.newStatus - New status of the chat member.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object