ChatEventCustomEmojiStickerSetChanged.fromJson constructor

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

Parses a ChatEventCustomEmojiStickerSetChanged from TDLib JSON.

Implementation

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