fromJson static method
Creates a object from a json
Implementation
static ChatAdministratorRights fromJson(Map<String, dynamic> json) {
return ChatAdministratorRights(
json['is_anonymous'],
json['can_manage_chat'],
json['can_delete_messages'],
json['can_manage_video_chats'],
json['can_restrict_members'],
json['can_promote_members'],
json['can_change_info'],
json['can_invite_users'],
json['can_post_messages'],
json['can_edit_messages'],
json['can_pin_messages'],
);
}