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.

Returns:

  • (Float)

    the current value of enabled_notifications_percentage



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

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:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

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:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

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:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def join_graph
  @join_graph
end

#language_graphTD::Types::StatisticalGraph

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

Returns:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def language_graph
  @language_graph
end

#mean_share_countTD::Types::StatisticalValue

Mean number of times the recently sent messages was shared.

Returns:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def mean_share_count
  @mean_share_count
end

#mean_view_countTD::Types::StatisticalValue

Mean number of times the recently sent messages was viewed.

Returns:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def mean_view_count
  @mean_view_count
end

#member_countTD::Types::StatisticalValue

Number of members in the chat.

Returns:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def member_count
  @member_count
end

#member_count_graphTD::Types::StatisticalGraph

A graph containing number of members in the chat.

Returns:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def member_count_graph
  @member_count_graph
end

#message_interaction_graphTD::Types::StatisticalGraph

A graph containing number of chat message views and shares.

Returns:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def message_interaction_graph
  @message_interaction_graph
end

#mute_graphTD::Types::StatisticalGraph

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

Returns:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def mute_graph
  @mute_graph
end

#periodTD::Types::DateRange

A period to which the statistics applies.

Returns:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def period
  @period
end

#recent_message_interactionsArray<TD::Types::ChatStatisticsMessageInteractionInfo>

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

Returns:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def recent_message_interactions
  @recent_message_interactions
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:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

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:



25
26
27
# File 'lib/tdlib/types/chat_statistics/channel.rb', line 25

def view_count_by_source_graph
  @view_count_by_source_graph
end