ChatStatisticsSupergroup class

Inheritance

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, dynamic extra, int? clientId})
A detailed statistics about a supergroup chat
const
ChatStatisticsSupergroup.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

actionGraph StatisticalGraph
actionGraph A graph containing number of different actions in the chat
final
clientId int?
clientId client identifier
final
dayGraph StatisticalGraph
dayGraph A graph containing distribution of message views per hour
final
extra → dynamic
extra callback sign
final
hashCode int
The hash code for this object.
no setterinherited
joinBySourceGraph StatisticalGraph
joinBySourceGraph A graph containing number of new member joins per source
final
joinGraph StatisticalGraph
joinGraph A graph containing number of members joined and left the chat
final
languageGraph StatisticalGraph
languageGraph A graph containing distribution of active users per language
final
memberCount StatisticalValue
memberCount Number of members in the chat
final
memberCountGraph StatisticalGraph
memberCountGraph A graph containing number of members in the chat
final
messageContentGraph StatisticalGraph
messageContentGraph A graph containing 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 applies
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 most active administrators in the last week
final
topInviters List<ChatStatisticsInviterInfo>
topInviters List of most active inviters of new members in the last week
final
topSenders List<ChatStatisticsMessageSenderInfo>
topSenders List of users sent 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 distribution of message views per day of 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, dynamic extra, int? clientId}) ChatStatisticsSupergroup
override
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

CONSTRUCTOR → const String