ChatStatisticsChannel class final
A detailed statistics about a channel chat
- 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) -
Parses a ChatStatisticsChannel from TDLib JSON.
factory
Properties
- clientId → int?
-
Identifier of the TDLib client that sent this object.
final
- enabledNotificationsPercentage → double
-
A percentage of users with enabled notifications for the chat; 0-100
final
- extra → dynamic
-
"@extra" of the request this object answers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instantViewInteractionGraph → StatisticalGraph
-
A graph containing number of views of associated with the chat instant views
final
- joinBySourceGraph → StatisticalGraph
-
A graph containing number of new member joins per source
final
- joinGraph → StatisticalGraph
-
A graph containing number of members joined and left the chat
final
- languageGraph → StatisticalGraph
-
A graph containing number of users viewed chat messages per language
final
-
Mean number of times the recently sent messages was shared
final
- meanViewCount → StatisticalValue
-
Mean number of times the recently sent messages was viewed
final
- memberCount → StatisticalValue
-
Number of members in the chat
final
- memberCountGraph → StatisticalGraph
-
A graph containing number of members in the chat
final
- messageInteractionGraph → StatisticalGraph
-
A graph containing number of chat message views and shares
final
- muteGraph → StatisticalGraph
-
A graph containing number of members muted and unmuted the chat
final
- period → DateRange
-
A period to which the statistics applies
final
-
recentMessageInteractions
→ List<
ChatStatisticsMessageInteractionInfo> -
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
-
A graph containing number of message views in a given hour in the last two weeks
final
- viewCountBySourceGraph → StatisticalGraph
-
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 -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it.override -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.