ChatStatisticsMessageInteractionInfo.fromJson constructor

ChatStatisticsMessageInteractionInfo.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory ChatStatisticsMessageInteractionInfo.fromJson(
        Map<String, dynamic> json) =>
    ChatStatisticsMessageInteractionInfo(
      messageId: json['message_id'],
      viewCount: json['view_count'],
      forwardCount: json['forward_count'],
    );