java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatStatisticsAdministratorActionsInfo
- Enclosing class:
- TdApi
Contains statistics about administrator actions done by a user.
-
Field Summary
Modifier and TypeFieldDescriptionint
Number of users banned by the administrator.static final int
Identifier uniquely determining type of the object.int
Number of messages deleted by the administrator.int
Number of users restricted by the administrator.long
Administrator user identifier. -
Constructor Summary
ConstructorDescriptionContains statistics about administrator actions done by a user.ChatStatisticsAdministratorActionsInfo
(long userId, int deletedMessageCount, int bannedUserCount, int restrictedUserCount) Contains statistics about administrator actions done by a user.Contains statistics about administrator actions done by a user. -
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 userIdAdministrator user identifier. -
deletedMessageCount
public int deletedMessageCountNumber of messages deleted by the administrator. -
bannedUserCount
public int bannedUserCountNumber of users banned by the administrator. -
restrictedUserCount
public int restrictedUserCountNumber of users restricted by the administrator. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatStatisticsAdministratorActionsInfo
public ChatStatisticsAdministratorActionsInfo()Contains statistics about administrator actions done by a user. -
ChatStatisticsAdministratorActionsInfo
public ChatStatisticsAdministratorActionsInfo(long userId, int deletedMessageCount, int bannedUserCount, int restrictedUserCount) Contains statistics about administrator actions done by a user.- Parameters:
userId
- Administrator user identifier.deletedMessageCount
- Number of messages deleted by the administrator.bannedUserCount
- Number of users banned by the administrator.restrictedUserCount
- Number of users restricted by the administrator.
-
ChatStatisticsAdministratorActionsInfo
Contains statistics about administrator actions done by a user.- 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()
-