@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
16 lines • 513 B
TypeScript
/**
* ```js
* import { getStream } from '@amityco/ts-sdk'
* 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: (stream: Amity.InternalStream) => Promise<Amity.Channel<'live'> | undefined>;
//# sourceMappingURL=getLiveChat.d.ts.map