UpdateChatPhoto.fromJson constructor
Parse from a json
Implementation
factory UpdateChatPhoto.fromJson(Map<String, dynamic> json) =>
UpdateChatPhoto(
chatId: json['chat_id'],
photo: json['photo'] == null
? null
: ChatPhotoInfo.fromJson(json['photo']),
extra: json['@extra'],
clientId: json['@client_id'],
);