Package it.tdlight.jni
Class TdApi.ChatAdministrator
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatAdministrator
- Enclosing class:
- TdApi
public static class TdApi.ChatAdministrator extends TdApi.Object
Contains information about a chat administrator.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
customTitle
Custom title of the administrator.boolean
isOwner
True, if the user is the owner of the chat.long
userId
User identifier of the administrator. -
Constructor Summary
Constructors Constructor Description ChatAdministrator()
Contains information about a chat administrator.ChatAdministrator(long userId, String customTitle, boolean isOwner)
Contains information about a chat administrator.ChatAdministrator(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-