MessageReactionCountUpdated.fromJson constructor
Creates a MessageReactionCountUpdated object from JSON object.
Implementation
factory MessageReactionCountUpdated.fromJson(Map<String, dynamic> json) {
return MessageReactionCountUpdated(
chat: Chat.fromJson(json['chat']),
messageId: json['message_id'],
date: json['date'],
reactions: (json['reactions'] as List)
.map((e) => ReactionCount.fromJson(e))
.toList(),
);
}