@prass/botpress-native
Version:
A simple and powerful SDK for integrating Botpress Chat API with React Native,
12 lines (11 loc) • 674 B
TypeScript
import { ListParticipantsParams } from "../../types/botpress";
import { Botpress } from "../Botpress";
import { ListParticipantsResponse } from "../../types/botpress.response";
/**
* Internal handler for retrieving participants of a conversation.
* @param this - Botpress instance context
* @param params - Parameters containing conversationId and optional nextToken
* @returns Promise resolving to the list of participants and pagination metadata
* @throws Error if prerequisites are missing or API call fails
*/
export declare function handleListParticipants(this: Botpress, { conversationId, nextToken }: ListParticipantsParams): Promise<ListParticipantsResponse>;