fromJson static method
Inherited by: InputChatPhotoAnimation InputChatPhotoPrevious InputChatPhotoStatic InputChatPhotoSticker
Implementation
static InputChatPhotoSticker? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return InputChatPhotoSticker(
sticker:
ChatPhotoSticker.fromJson(json['sticker'] as Map<String, dynamic>?)!,
);
}