UNPKG

@prass/botpress-native

Version:

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

12 lines (11 loc) 545 B
import { Botpress } from "../Botpress"; import { GetEventParams } from "../../types/botpress"; import { EventResponse } from "../../types/botpress.response"; /** * Internal handler for retrieving a specific event’s details. * @param this - Botpress instance context * @param params - Parameters containing the event ID * @returns Promise resolving to the event’s details * @throws Error if user key is missing or API call fails */ export declare function handleGetEvent(this: Botpress, { id }: GetEventParams): Promise<EventResponse>;