UNPKG

chzzk-z

Version:

chzzk-z is naver streaming platform Chzzk Library

25 lines 905 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ChzzkChannel = void 0; const apis_1 = require("./apis"); class ChzzkChannel { constructor(cm, opt) { this.chzzkChannelRepository = new apis_1.ChzzkChannelRepository(); this.cm = cm; this.opt = opt; } async findByKeyword(keyword) { return await this.chzzkChannelRepository.findByKeyword(keyword, this.opt); } async findById(channelId) { return await this.chzzkChannelRepository.findById(channelId, this.opt); } async findAccessTokenById(chatChannelId) { return await this.chzzkChannelRepository.findAccessTokenById(chatChannelId, this.opt); } async findVideoById(videoNo) { return await this.chzzkChannelRepository.findVideoById(videoNo, this.opt); } } exports.ChzzkChannel = ChzzkChannel; //# sourceMappingURL=channel.js.map