UNPKG

@twurple/chat

Version:

Interact with the Twitch Messaging Interface (aka Twitch chat).

13 lines 410 B
/** * Converts a chat-compatible channel name to an API-compatible username. * * @param channel The name of the channel. */ export declare function toUserName(channel: string): string; /** * Converts an API-compatible username to a chat-compatible channel name. * * @param user The name of the user. */ export declare function toChannelName(user: string): string; //# sourceMappingURL=userUtil.d.ts.map