ChatPhotoStickerTypeRegularOrMask.fromJson constructor

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

Parse from a json

Implementation

factory ChatPhotoStickerTypeRegularOrMask.fromJson(
        Map<String, dynamic> json) =>
    ChatPhotoStickerTypeRegularOrMask(
      stickerSetId: int.parse(json['sticker_set_id']),
      stickerId: int.parse(json['sticker_id']),
    );