UNPKG

@prass/botpress-native

Version:

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

12 lines (11 loc) 648 B
import { GetParticipantParams } from "../../types/botpress"; import { Botpress } from "../Botpress"; import { AddParticipantResponse } from "../../types/botpress.response"; /** * Internal handler for retrieving a specific participant's details from a conversation. * @param this - Botpress instance context * @param params - Parameters containing conversationId and userId * @returns Promise resolving to the participant's details * @throws Error if prerequisites are missing or API call fails */ export declare function handleGetParticipant(this: Botpress, { conversationId, userId }: GetParticipantParams): Promise<AddParticipantResponse>;