UNPKG

@prass/botpress-native

Version:

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

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