Package org.drinkless.tdlib
Class TdApi.ChatEventMemberPromoted
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ChatEventAction
-
- org.drinkless.tdlib.TdApi.ChatEventMemberPromoted
-
- Enclosing class:
- TdApi
public static class TdApi.ChatEventMemberPromoted extends TdApi.ChatEventAction
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.ChatMemberStatusnewStatusNew status of the chat member.TdApi.ChatMemberStatusoldStatusPrevious status of the chat member.longuserIdAffected chat member user identifier.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
userId
public long userId
Affected chat member user identifier.
-
oldStatus
public TdApi.ChatMemberStatus oldStatus
Previous status of the chat member.
-
newStatus
public TdApi.ChatMemberStatus newStatus
New status of the chat member.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChatEventMemberPromoted
public ChatEventMemberPromoted()
A chat member has gained/lost administrator status, or the list of their administrator privileges has changed.
-
ChatEventMemberPromoted
public 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.- Parameters:
userId- Affected chat member user identifier.oldStatus- Previous status of the chat member.newStatus- New status of the chat member.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-