Class: TD::Types::ChatStatistics::Channel

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

Overview

A detailed statistics about a channel chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#enabled_notifications_percentageFloat

A percentage of users with enabled notifications for the chat; 0-100.

Returns:

  • (Float)

    the current value of enabled_notifications_percentage



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def enabled_notifications_percentage
  @enabled_notifications_percentage
end

#instant_view_interaction_graphTD::Types::StatisticalGraph

A graph containing number of views of associated with the chat instant views.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def instant_view_interaction_graph
  @instant_view_interaction_graph
end

#join_by_source_graphTD::Types::StatisticalGraph

A graph containing number of new member joins per source.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

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:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def join_graph
  @join_graph
end

#language_graphTD::Types::StatisticalGraph

A graph containing number of users viewed chat messages per language.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def language_graph
  @language_graph
end

#mean_message_reaction_countTD::Types::StatisticalValue

Mean number of times reactions were added to the recently sent messages.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def mean_message_reaction_count
  @mean_message_reaction_count
end

#mean_message_share_countTD::Types::StatisticalValue

Mean number of times the recently sent messages were shared.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def mean_message_share_count
  @mean_message_share_count
end

#mean_message_view_countTD::Types::StatisticalValue

Mean number of times the recently sent messages were viewed.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def mean_message_view_count
  @mean_message_view_count
end

#mean_story_reaction_countTD::Types::StatisticalValue

Mean number of times reactions were added to the recently sent stories.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def mean_story_reaction_count
  @mean_story_reaction_count
end

#mean_story_share_countTD::Types::StatisticalValue

Mean number of times the recently sent stories were shared.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def mean_story_share_count
  @mean_story_share_count
end

#mean_story_view_countTD::Types::StatisticalValue

Mean number of times the recently sent stories were viewed.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def mean_story_view_count
  @mean_story_view_count
end

#member_countTD::Types::StatisticalValue

Number of members in the chat.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def member_count
  @member_count
end

#member_count_graphTD::Types::StatisticalGraph

A graph containing number of members in the chat.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def member_count_graph
  @member_count_graph
end

#message_interaction_graphTD::Types::StatisticalGraph

A graph containing number of chat message views and shares.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def message_interaction_graph
  @message_interaction_graph
end

#message_reaction_graphTD::Types::StatisticalGraph

A graph containing number of reactions on messages.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def message_reaction_graph
  @message_reaction_graph
end

#mute_graphTD::Types::StatisticalGraph

A graph containing number of members muted and unmuted the chat.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def mute_graph
  @mute_graph
end

#periodTD::Types::DateRange

A period to which the statistics applies.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def period
  @period
end

#recent_interactionsArray<TD::Types::ChatStatisticsInteractionInfo>

Detailed statistics about number of views and shares of recently sent messages and stories.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def recent_interactions
  @recent_interactions
end

#story_interaction_graphTD::Types::StatisticalGraph

A graph containing number of story views and shares.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def story_interaction_graph
  @story_interaction_graph
end

#story_reaction_graphTD::Types::StatisticalGraph

A graph containing number of reactions on stories.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def story_reaction_graph
  @story_reaction_graph
end

#view_count_by_hour_graphTD::Types::StatisticalGraph

A graph containing number of message views in a given hour in the last two weeks.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def view_count_by_hour_graph
  @view_count_by_hour_graph
end

#view_count_by_source_graphTD::Types::StatisticalGraph

A graph containing number of message views per source.

Returns:



39
40
41
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 39

def view_count_by_source_graph
  @view_count_by_source_graph
end