UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

16 lines 479 B
/** * ```js * import { leaveChannel } from '@amityco/ts-sdk-react-native' * const isLeft = await leaveChannel('foobar') * ``` * * Leave a {@link Amity.Channel} object * * @param channelId the {@link Amity.Channel} to leave * @returns A success boolean if the {@link Amity.Channel} was left * * @category Channel API * @async */ export declare const leaveChannel: (channelId: Amity.Channel['channelId']) => Promise<boolean>; //# sourceMappingURL=leaveChannel.d.ts.map