java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatAdministrator
- Enclosing class:
- TdApi
Contains information about a chat administrator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCustom 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.ChatAdministrator(DataInput input) Contains information about a chat administrator. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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 CONSTRUCTOR- See Also:
-
-
Constructor Details
-
ChatAdministrator
public ChatAdministrator()Contains information about a chat administrator. -
ChatAdministrator
Contains information about a chat administrator.- Parameters:
userId- long User identifier of the administrator.customTitle- String Custom title of the administrator.isOwner- boolean True, if the user is the owner of the chat.
-
ChatAdministrator
Contains information about a chat administrator.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-