UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 608 B
/** * ```js * import { removeParticipant } from '@amityco/ts-sdk-react-native' * const result = await removeParticipant('roomId', 'participantUserId') * ``` * * Removes a participant from an {@link Amity.Room} * * @param roomId The ID of the room to remove participant from * @param participantUserId The ID of the user to remove as participant * @returns Promise that resolves when the participant is removed * * @category Room API * @async */ export declare const removeParticipant: (roomId: string, participantUserId: string) => Promise<void>; //# sourceMappingURL=removeParticipant.d.ts.map