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
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
Methods 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 CONSTRUCTOR- 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
- long Administrator user identifier.deletedMessageCount
- int Number of messages deleted by the administrator.bannedUserCount
- int Number of users banned by the administrator.restrictedUserCount
- int Number of users restricted by the administrator.
-
ChatStatisticsAdministratorActionsInfo
Contains statistics about administrator actions done by a user.- 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()
-