Package org.drinkless.tdlib
Class TdApi.ChatStatisticsAdministratorActionsInfo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatStatisticsAdministratorActionsInfo
- Enclosing class:
- TdApi
Contains statistics about administrator actions done by a user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintNumber of users banned by the administrator.static final intIdentifier uniquely determining type of the object.intNumber of messages deleted by the administrator.intNumber of users restricted by the administrator.longAdministrator user identifier. -
Constructor Summary
ConstructorsConstructorDescriptionContains 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
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-