fromJson static method
Implementation
static ChatPhotoSticker? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatPhotoSticker(
type: ChatPhotoStickerType.fromJson(tdMapFromJson(json['type'])),
backgroundFill: BackgroundFill.fromJson(
tdMapFromJson(json['background_fill']),
),
);
}