UNPKG

@amityco/ts-sdk

Version:

Amity Social Cloud Typescript SDK

16 lines 463 B
/** * ```js * import { ChannelRepository } from '@amityco/ts-sdk' * const success = await ChannelRepository.archiveChannel('foobar') * ``` * * Archive a {@link Amity.Channel}. * * @param channelId The id of the {@link Amity.Channel} to archive * @returns A success boolean * * @category Channel API * @async */ export declare const archiveChannel: (channelId: Amity.Channel['channelId']) => Promise<void>; //# sourceMappingURL=archiveChannel.d.ts.map