UNPKG

@prass/botpress-native

Version:

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

10 lines (9 loc) 404 B
import { Botpress } from "../Botpress"; import { UserResponse } from "../../types/botpress.response"; /** * Internal handler for retrieving the current user's details. * @param this - Botpress instance context * @returns Promise resolving to the user's details * @throws Error if user key is missing or API call fails */ export declare function handleGetUser(this: Botpress): Promise<UserResponse>;