Lifecycle
Visibility
Send Message Programmatically
Options
sendMessage() always starts a new thread for the programmatic message — the active thread is reset before sending. Thread titles are auto-generated by the backend after streaming completes.Get Agents
To call this before
initSidenet() — when there is no live session yet — pass an access token as the second argument.