ChatStatisticsInteractionInfo.fromJson constructor
Parses a ChatStatisticsInteractionInfo from TDLib JSON.
Implementation
factory ChatStatisticsInteractionInfo.fromJson(Map<String, dynamic> json) =>
ChatStatisticsInteractionInfo(
objectType: _readObject(
json['object_type'],
ChatStatisticsObjectType.fromJson,
),
viewCount: _readInt(json['view_count']),
forwardCount: _readInt(json['forward_count']),
reactionCount: _readInt(json['reaction_count']),
);