UpdateChatPendingJoinRequests.fromJson constructor

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

Parse from a json

Implementation

factory UpdateChatPendingJoinRequests.fromJson(Map<String, dynamic> json) => UpdateChatPendingJoinRequests(
  chatId: json['chat_id'],
  pendingJoinRequests: json['pending_join_requests'] == null ? null : ChatJoinRequestsInfo.fromJson(json['pending_join_requests']),
  extra: json['@extra'],
  clientId: json['@client_id'],
);