ChatPhotoStickerTypeRegularOrMask.fromJson constructor

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

Parses a ChatPhotoStickerTypeRegularOrMask from TDLib JSON.

Implementation

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