@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
20 lines (17 loc) • 477 B
text/typescript
import * as Ably from 'ably';
/**
* Exposes the agents option in the Ably Realtime client for typescript.
* @internal
*/
export interface RealtimeWithOptions extends Ably.Realtime {
options: {
agents?: Record<string, string | undefined>;
};
}
/**
* Exposes the channelOptions property in the Ably Realtime channel for typescript.
* @internal
*/
export interface RealtimeChannelWithOptions extends Ably.RealtimeChannel {
channelOptions: Ably.ChannelOptions;
}