ChatEventStickerSetChanged.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventStickerSetChanged.fromJson(Map<String, dynamic> json) =>
    ChatEventStickerSetChanged(
      oldStickerSetId: int.tryParse(json['old_sticker_set_id'] ?? "") ?? 0,
      newStickerSetId: int.tryParse(json['new_sticker_set_id'] ?? "") ?? 0,
    );