ChatStatisticsChannel class
- Inheritance
-
- Object
- TdObject
- ChatStatistics
- ChatStatisticsChannel
Constructors
-
ChatStatisticsChannel({required DateRange period, required StatisticalValue memberCount, required StatisticalValue meanViewCount, required double enabledNotificationsPercentage, required StatisticalGraph memberCountGraph, required StatisticalGraph joinGraph, required StatisticalGraph muteGraph, required StatisticalGraph viewCountByHourGraph, required StatisticalGraph viewCountBySourceGraph, required StatisticalGraph joinBySourceGraph, required StatisticalGraph languageGraph, required StatisticalGraph messageInteractionGraph, required StatisticalGraph instantViewInteractionGraph, required List<
ChatStatisticsMessageInteractionInfo> recentMessageInteractions, dynamic extra, int? clientId}) -
A detailed statistics about a channel chat
const
-
ChatStatisticsChannel.fromJson(Map<
String, dynamic> json) -
Parse from a json
factory
Properties
- clientId → int?
-
clientId client identifier
final
- enabledNotificationsPercentage → double
-
enabledNotificationsPercentage A percentage of users with enabled notifications for the chat
final
- extra → dynamic
-
extra callback sign
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instantViewInteractionGraph → StatisticalGraph
-
instantViewInteractionGraph A graph containing number of views of associated with the chat instant views
final
- 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 number of users viewed chat messages per language
final
-
meanShareCount Mean number of times the recently sent messages was shared
final
- meanViewCount → StatisticalValue
-
meanViewCount Mean number of times the recently sent messages was viewed
final
- memberCount → StatisticalValue
-
memberCount Number of members in the chat
final
- memberCountGraph → StatisticalGraph
-
memberCountGraph A graph containing number of members in the chat
final
- messageInteractionGraph → StatisticalGraph
-
messageInteractionGraph A graph containing number of chat message views and shares
final
- muteGraph → StatisticalGraph
-
muteGraph A graph containing number of members muted and unmuted the chat
final
- period → DateRange
-
period A period to which the statistics applies
final
-
recentMessageInteractions
→ List<
ChatStatisticsMessageInteractionInfo> -
recentMessageInteractions Detailed statistics about number of views and shares of recently sent messages
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viewCountByHourGraph → StatisticalGraph
-
viewCountByHourGraph A graph containing number of message views in a given hour in the last two weeks
final
- viewCountBySourceGraph → StatisticalGraph
-
viewCountBySourceGraph A graph containing number of message views per source
final
Methods
-
copyWith(
{DateRange? period, StatisticalValue? memberCount, StatisticalValue? meanViewCount, double? enabledNotificationsPercentage, StatisticalGraph? memberCountGraph, StatisticalGraph? joinGraph, StatisticalGraph? muteGraph, StatisticalGraph? viewCountByHourGraph, StatisticalGraph? viewCountBySourceGraph, StatisticalGraph? joinBySourceGraph, StatisticalGraph? languageGraph, StatisticalGraph? messageInteractionGraph, StatisticalGraph? instantViewInteractionGraph, List< ChatStatisticsMessageInteractionInfo> ? recentMessageInteractions, dynamic extra, int? clientId}) → ChatStatisticsChannel -
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