chzzk
Version:
네이버 라이브 스트리밍 서비스 CHZZK의 비공식 API 라이브러리
20 lines (19 loc) • 846 B
TypeScript
import { ChzzkClient } from "../client";
import { ChatExtras } from "../chat";
export interface NoticeOptions {
extras: string | ChatExtras;
message: string;
messageTime: number;
messageUserIdHash: string;
streamingChannelId: string;
}
export interface BlindOptions {
message: string;
messageTime: number;
messageUserIdHash: string;
streamingChannelId: string;
}
export declare function accessToken(client: ChzzkClient, chatChannelId: string): Promise<any>;
export declare function profileCard(client: ChzzkClient, chatChannelId: string, userIdHash: string): Promise<any>;
export declare function notice(client: ChzzkClient, chatChannelId: string, options?: NoticeOptions): Promise<Response>;
export declare function blind(client: ChzzkClient, chatChannelId: string, options: BlindOptions): Promise<Response>;