UNPKG

@prass/botpress-native

Version:

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

11 lines (10 loc) 492 B
import { DeleteMessageParams } from "../../types/botpress"; import { Botpress } from "../Botpress"; /** * Internal handler for deleting a specific message. * @param this - Botpress instance context * @param params - Parameters containing the message id * @returns Promise resolving to void upon successful deletion * @throws Error if prerequisites are missing or API call fails */ export declare function handleDeleteMessage(this: Botpress, { id }: DeleteMessageParams): Promise<void>;