UpdateChatPhoto.fromJson constructor
Parses a UpdateChatPhoto from TDLib JSON.
Implementation
factory UpdateChatPhoto.fromJson(Map<String, dynamic> json) =>
UpdateChatPhoto(
chatId: _readInt(json['chat_id']),
photo: _readOptional(json['photo'], ChatPhotoInfo.fromJson),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);