ChatStatisticsSupergroup class

Detailed statistics about a supergroup chat

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

ChatStatisticsSupergroup({required DateRange period, required StatisticalValue memberCount, required StatisticalValue messageCount, required StatisticalValue viewerCount, required StatisticalValue senderCount, required StatisticalGraph memberCountGraph, required StatisticalGraph joinGraph, required StatisticalGraph joinBySourceGraph, required StatisticalGraph languageGraph, required StatisticalGraph messageContentGraph, required StatisticalGraph actionGraph, required StatisticalGraph dayGraph, required StatisticalGraph weekGraph, required List<ChatStatisticsMessageSenderInfo> topSenders, required List<ChatStatisticsAdministratorActionsInfo> topAdministrators, required List<ChatStatisticsInviterInfo> topInviters})
const

Properties

actionGraph → StatisticalGraph
actionGraph A graph containing the number of different actions in the chat
final
dayGraph → StatisticalGraph
dayGraph A graph containing the distribution of message views per hour
final
hashCode → int
The hash code for this object.
no setteroverride
joinBySourceGraph → StatisticalGraph
joinBySourceGraph A graph containing the number of new member joins per source
final
joinGraph → StatisticalGraph
joinGraph A graph containing the number of members who joined and left the chat
final
languageGraph → StatisticalGraph
languageGraph A graph containing the distribution of active users per language
final
memberCount → StatisticalValue
memberCount Number of members in the chat
final
memberCountGraph → StatisticalGraph
memberCountGraph A graph containing the number of members in the chat
final
messageContentGraph → StatisticalGraph
messageContentGraph A graph containing the distribution of sent messages by content type
final
messageCount → StatisticalValue
messageCount Number of messages sent to the chat
final
period → DateRange
period A period to which the statistics apply
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
senderCount → StatisticalValue
senderCount Number of users who sent messages to the chat
final
topAdministrators → List<ChatStatisticsAdministratorActionsInfo>
topAdministrators List of the most active administrators in the last week
final
topInviters → List<ChatStatisticsInviterInfo>
topInviters List of the most active inviters of new members in the last week
final
topSenders → List<ChatStatisticsMessageSenderInfo>
topSenders List of users who sent the most messages in the last week
final
viewerCount → StatisticalValue
viewerCount Number of users who viewed messages in the chat
final
weekGraph → StatisticalGraph
weekGraph A graph containing the distribution of message views per day of the week
final

Methods

copyWith({DateRange? period, StatisticalValue? memberCount, StatisticalValue? messageCount, StatisticalValue? viewerCount, StatisticalValue? senderCount, StatisticalGraph? memberCountGraph, StatisticalGraph? joinGraph, StatisticalGraph? joinBySourceGraph, StatisticalGraph? languageGraph, StatisticalGraph? messageContentGraph, StatisticalGraph? actionGraph, StatisticalGraph? dayGraph, StatisticalGraph? weekGraph, List<ChatStatisticsMessageSenderInfo>? topSenders, List<ChatStatisticsAdministratorActionsInfo>? topAdministrators, List<ChatStatisticsInviterInfo>? topInviters}) → ChatStatisticsSupergroup

Available on ChatStatisticsSupergroup, provided by the ChatStatisticsSupergroupExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult supergroup(ChatStatisticsSupergroup value), required TResult channel(ChatStatisticsChannel value)}) → TResult

Available on ChatStatistics, provided by the ChatStatisticsExtensions extension

maybeMap<TResult extends Object?>({TResult supergroup(ChatStatisticsSupergroup value)?, TResult channel(ChatStatisticsChannel value)?, required TResult orElse()}) → TResult

Available on ChatStatistics, provided by the ChatStatisticsExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) → ChatStatisticsSupergroup?
Inherited by: ChatStatisticsChannel ChatStatisticsSupergroup
override

Constants

constructor → const String