Package org.drinkless.tdlib
Class TdApi.ChatStatisticsAdministratorActionsInfo
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.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 intbannedUserCountNumber of users banned by the administrator.static intCONSTRUCTORIdentifier uniquely determining type of the object.intdeletedMessageCountNumber of messages deleted by the administrator.intrestrictedUserCountNumber of users restricted by the administrator.longuserIdAdministrator user identifier.
-
Constructor Summary
Constructors Constructor Description ChatStatisticsAdministratorActionsInfo()Contains 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
userId
public long userId
Administrator user identifier.
-
deletedMessageCount
public int deletedMessageCount
Number of messages deleted by the administrator.
-
bannedUserCount
public int bannedUserCount
Number of users banned by the administrator.
-
restrictedUserCount
public int restrictedUserCount
Number of users restricted by the administrator.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-