InputStickerStatic.fromJson constructor

InputStickerStatic.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory InputStickerStatic.fromJson(Map<String, dynamic> json) => InputStickerStatic(
  sticker: InputFile.fromJson(json['sticker']),
  emojis: json['emojis'],
  maskPosition: json['mask_position'] == null ? null : MaskPosition.fromJson(json['mask_position']),
);