Class: TD::Types::ChatStatisticsAdministratorActionsInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/chat_statistics_administrator_actions_info.rb

Overview

Contains statistics about administrator actions done by a user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#banned_user_countInteger

Number of users banned by the administrator.

Returns:

  • (Integer)

    the current value of banned_user_count



8
9
10
# File 'lib/tdlib/types/chat_statistics_administrator_actions_info.rb', line 8

def banned_user_count
  @banned_user_count
end

#deleted_message_countInteger

Number of messages deleted by the administrator.

Returns:

  • (Integer)

    the current value of deleted_message_count



8
9
10
# File 'lib/tdlib/types/chat_statistics_administrator_actions_info.rb', line 8

def deleted_message_count
  @deleted_message_count
end

#restricted_user_countInteger

Number of users restricted by the administrator.

Returns:

  • (Integer)

    the current value of restricted_user_count



8
9
10
# File 'lib/tdlib/types/chat_statistics_administrator_actions_info.rb', line 8

def restricted_user_count
  @restricted_user_count
end

#user_idInteger

Administrator user identifier.

Returns:

  • (Integer)

    the current value of user_id



8
9
10
# File 'lib/tdlib/types/chat_statistics_administrator_actions_info.rb', line 8

def user_id
  @user_id
end