Package org.drinkless.tdlib
Class TdApi.ChatAdministrator
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatAdministrator
- Enclosing class:
- TdApi
Contains information about a chat administrator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Custom title of the administrator.booleanTrue, if the user is the owner of the chat.longUser identifier of the administrator. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about a chat administrator.ChatAdministrator(long userId, String customTitle, boolean isOwner) Contains information about a chat administrator. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
userId
public long userIdUser identifier of the administrator. -
customTitle
Custom title of the administrator. -
isOwner
public boolean isOwnerTrue, if the user is the owner of the chat. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatAdministrator
public ChatAdministrator()Contains information about a chat administrator. -
ChatAdministrator
Contains information about a chat administrator.- Parameters:
userId- User identifier of the administrator.customTitle- Custom title of the administrator.isOwner- True, if the user is the owner of the chat.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-