InputChatPhotoSticker.fromJson constructor

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

Parses a InputChatPhotoSticker from TDLib JSON.

Implementation

factory InputChatPhotoSticker.fromJson(Map<String, dynamic> json) =>
    InputChatPhotoSticker(
      sticker: _readObject(json['sticker'], ChatPhotoSticker.fromJson),
    );