ChatStatisticsAdministratorActionsInfo.fromJson constructor

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

Parse from a json

Implementation

factory ChatStatisticsAdministratorActionsInfo.fromJson(
        Map<String, dynamic> json) =>
    ChatStatisticsAdministratorActionsInfo(
      userId: json['user_id'],
      deletedMessageCount: json['deleted_message_count'],
      bannedUserCount: json['banned_user_count'],
      restrictedUserCount: json['restricted_user_count'],
    );