java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatAdministrator
- Enclosing class:
- TdApi
Contains information about a chat administrator.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Custom title of the administrator.boolean
True, if the user is the owner of the chat.long
User identifier of the administrator. -
Constructor Summary
ConstructorDescriptionContains 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:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-