ChatPhotoStickerType.fromJson constructor
Parses whichever ChatPhotoStickerType subtype the JSON describes.
Implementation
factory ChatPhotoStickerType.fromJson(Map<String, dynamic> json) {
final object = tdObjectFactories[json['@type']]?.call(json);
return object is ChatPhotoStickerType
? object
: UndecodedChatPhotoStickerType(json);
}