Skip to main content

smwebsdk.persona.conversationsend

Home > @soulmachines/smwebsdk > Persona > conversationSend

Persona.conversationSend() method

Send a chat message to conversation

Signature:

conversationSend(text: string, variables: VariablesModel, optionalArgs: Record<string, unknown>): Promise<any>;

Parameters

ParameterTypeDescription
textstringText to send to conversation
variablesVariablesModelVariables to send to the conversation provider
optionalArgsRecord<string, unknown>Optional arguments object (none currently supported)

Returns:

Promise<any>