UpdateNewChatJoinRequest.fromJson constructor

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

Parse from a json

Implementation

factory UpdateNewChatJoinRequest.fromJson(Map<String, dynamic> json) => UpdateNewChatJoinRequest(
  chatId: json['chat_id'],
  request: ChatJoinRequest.fromJson(json['request']),
  inviteLink: json['invite_link'] == null ? null : ChatInviteLink.fromJson(json['invite_link']),
  extra: json['@extra'],
  clientId: json['@client_id'],
);