ChatPhotoSticker.fromJson constructor
Parses a ChatPhotoSticker from TDLib JSON.
Implementation
factory ChatPhotoSticker.fromJson(Map<String, dynamic> json) =>
ChatPhotoSticker(
type: _readObject(json['type'], ChatPhotoStickerType.fromJson),
backgroundFill: _readObject(
json['background_fill'],
BackgroundFill.fromJson,
),
);