Skip to content

TALK 🟑 BETA

TALK sends a message to the current conversation.

Where BASIC scripting sits in the Developer guide

Syntax

TALK "text"

Example

TALK "Order confirmed"

What it does

TALK evaluates one expression and delivers the result as a bot response in the active session. It is the primary way a BASIC tool speaks to the user.

Talk to specific recipients

A second registered form sends a direct message to one recipient.

TALK TO user_id, "Your report is ready"

The first expression is the recipient id, the second is the message; both are evaluated at run time.

Limits

  • Registered with positional arguments only β€” the signature shown is the exact form; named arguments are not part of the keyword.
  • TALK TO is a separate registered syntax: ["TALK", "TO", "$expr$", ",", "$expr$"] β€” recipient first, then message (crates/botbasic_core/src/keywords/hearing/talk.rs).