UpdateInstalledStickerSets.fromJson constructor

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

Parses a UpdateInstalledStickerSets from TDLib JSON.

Implementation

factory UpdateInstalledStickerSets.fromJson(Map<String, dynamic> json) =>
    UpdateInstalledStickerSets(
      stickerType: _readObject(json['sticker_type'], StickerType.fromJson),
      stickerSetIds: _readList<int>(json['sticker_set_ids'], _readInt),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );