UNPKG

@ably/chat

Version:

Ably Chat is a set of purpose-built APIs for a host of chat features enabling you to create 1:1, 1:Many, Many:1 and Many:Many chat rooms for any scale. It is designed to meet a wide range of chat use cases, such as livestreams, in-game communication, cust

7 lines (6 loc) 207 B
/** * Gets the single main channel for the chat room. * @param roomName The room name. * @returns The channel name. */ export const roomChannelName = (roomName: string): string => `${roomName}::$chat`;