@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
16 lines • 527 B
TypeScript
/**
* ```js
* import { RoomRepository } from '@amityco/ts-sdk-react-native'
* const stream = await getStream('foobar')
* ```
*
* Fetches a {@link Amity.Channel} object linked with a current stream
*
* @param stream {@link Amity.Stream} that has linked live channel
* @returns the associated {@link Amity.Channel<'live'>} object
*
* @category Stream API
* @async
*/
export declare const getLiveChat: (room: Amity.InternalRoom) => Promise<Amity.Channel<'live'> | undefined>;
//# sourceMappingURL=getLiveChat.d.ts.map