UNPKG

@prass/botpress-native

Version:

A simple and powerful SDK for integrating Botpress Chat API with React Native,

11 lines (10 loc) 549 B
import { RemoveParticipantParams } from "../../types/botpress"; import { Botpress } from "../Botpress"; /** * Internal handler for removing a participant from a conversation. * @param this - Botpress instance context * @param params - Parameters containing conversationId and userId * @returns Promise resolving to void upon successful removal * @throws Error if prerequisites are missing or API call fails */ export declare function handleRemoveParticipant(this: Botpress, { conversationId, userId }: RemoveParticipantParams): Promise<void>;