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
Identifier uniquely determining type of the object.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
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 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.
-
ChatAdministrator
Contains information about a chat administrator.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-