ChatEventStickerSetChanged.fromJson constructor

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

Parses a ChatEventStickerSetChanged from TDLib JSON.

Implementation

factory ChatEventStickerSetChanged.fromJson(Map<String, dynamic> json) =>
    ChatEventStickerSetChanged(
      oldStickerSetId: _readInt(json['old_sticker_set_id']),
      newStickerSetId: _readInt(json['new_sticker_set_id']),
    );