ChatAdministrator.fromJson constructor

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

Parse from a json

Implementation

factory ChatAdministrator.fromJson(Map<String, dynamic> json) => ChatAdministrator(
  userId: json['user_id'],
  customTitle: json['custom_title'],
  isOwner: json['is_owner'],
);