Class: TD::Types::ChatStatistics::Supergroup

Inherits:
TD::Types::ChatStatistics show all
Defined in:
lib/tdlib/types/chat_statistics/supergroup.rb

Overview

A detailed statistics about a supergroup chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#action_graphTD::Types::StatisticalGraph

A graph containing number of different actions in the chat.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def action_graph
  @action_graph
end

#day_graphTD::Types::StatisticalGraph

A graph containing distribution of message views per hour.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def day_graph
  @day_graph
end

#join_by_source_graphTD::Types::StatisticalGraph

A graph containing number of new member joins per source.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def join_by_source_graph
  @join_by_source_graph
end

#join_graphTD::Types::StatisticalGraph

A graph containing number of members joined and left the chat.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def join_graph
  @join_graph
end

#language_graphTD::Types::StatisticalGraph

A graph containing distribution of active users per language.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def language_graph
  @language_graph
end

#member_countTD::Types::StatisticalValue

Number of members in the chat.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def member_count
  @member_count
end

#member_count_graphTD::Types::StatisticalGraph

A graph containing number of members in the chat.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def member_count_graph
  @member_count_graph
end

#message_content_graphTD::Types::StatisticalGraph

A graph containing distribution of sent messages by content type.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def message_content_graph
  @message_content_graph
end

#message_countTD::Types::StatisticalValue

Number of messages sent to the chat.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def message_count
  @message_count
end

#periodTD::Types::DateRange

A period to which the statistics applies.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def period
  @period
end

#sender_countTD::Types::StatisticalValue

Number of users who sent messages to the chat.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def sender_count
  @sender_count
end

#top_administratorsArray<TD::Types::ChatStatisticsAdministratorActionsInfo>

List of most active administrators in the last week.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def top_administrators
  @top_administrators
end

#top_invitersArray<TD::Types::ChatStatisticsInviterInfo>

List of most active inviters of new members in the last week.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def top_inviters
  @top_inviters
end

#top_sendersArray<TD::Types::ChatStatisticsMessageSenderInfo>

List of users sent most messages in the last week.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def top_senders
  @top_senders
end

#viewer_countTD::Types::StatisticalValue

Number of users who viewed messages in the chat.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def viewer_count
  @viewer_count
end

#week_graphTD::Types::StatisticalGraph

A graph containing distribution of message views per day of week.

Returns:



24
25
26
# File 'lib/tdlib/types/chat_statistics/supergroup.rb', line 24

def week_graph
  @week_graph
end