InlineQueryResultSticker.fromJson constructor

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

Parses a InlineQueryResultSticker from TDLib JSON.

Implementation

factory InlineQueryResultSticker.fromJson(Map<String, dynamic> json) =>
    InlineQueryResultSticker(
      id: _readString(json['id']),
      sticker: _readObject(json['sticker'], Sticker.fromJson),
    );