Package it.tdlight.jni
Class TdApi.ChatStatisticsAdministratorActionsInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatStatisticsAdministratorActionsInfo
- Enclosing class:
- TdApi
public static class TdApi.ChatStatisticsAdministratorActionsInfo extends TdApi.Object
Contains statistics about administrator
actions done by a user.
-
Field Summary
Fields Modifier and Type Field Description int
bannedUserCount
Number of users banned by the administrator.static int
CONSTRUCTOR
int
deletedMessageCount
Number of messages deleted by the administrator.int
restrictedUserCount
Number of users restricted by the administrator.int
userId
Administrator user identifier. -
Constructor Summary
Constructors Constructor Description ChatStatisticsAdministratorActionsInfo()
Contains statistics about administrator actions done by a user.ChatStatisticsAdministratorActionsInfo(int userId, int deletedMessageCount, int bannedUserCount, int restrictedUserCount)
Contains statistics about administrator actions done by a user.ChatStatisticsAdministratorActionsInfo(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
userId
public int 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:
- Constant Field Values
-
-
Constructor Details
-
ChatStatisticsAdministratorActionsInfo
public ChatStatisticsAdministratorActionsInfo()Contains statistics about administrator actions done by a user. -
ChatStatisticsAdministratorActionsInfo
public ChatStatisticsAdministratorActionsInfo(int userId, int deletedMessageCount, int bannedUserCount, int restrictedUserCount)Contains statistics about administrator actions done by a user.- Parameters:
userId
- int 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
- 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()
-