Difference between revisions of "Bot Playground/AI/Bot.AI.getConversationByName"
From SmartBots Developers Docs
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
| − | <onlyinclude> | + | <onlyinclude>Get/create conversation with a specific resident. If conversation doesn't exist yet, creates it.</onlyinclude> |
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
Bot.AI.getConversationByName(residentName) | Bot.AI.getConversationByName(residentName) | ||
Latest revision as of 16:21, 10 October 2023
Get/create conversation with a specific resident. If conversation doesn't exist yet, creates it.
Bot.AI.getConversationByName(residentName)
Reference
This command accepts the following parameters:
| Variable | Required | Description
| |
|---|---|---|---|
| Input: | |||
| residentName | yes | Resident SL name | |
| Output: | |||
| result | A conversation object. | ||