Difference between revisions of "Bot Playground/Commands/joinGroup"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Initiates bot login sequence.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.joinGroup(groupuuid); </syntaxhighlight> {{...") |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
− | <onlyinclude> | + | <onlyinclude>Tries to join a group by UUID.</onlyinclude> |
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> |
Latest revision as of 19:58, 2 July 2016
Tries to join a group by UUID.
Bot.joinGroup(groupuuid);
Reference
This command accepts the following parameters:
Variable | Required | Description
| |
---|---|---|---|
Input: | |||
groupuuid | yes | The UUID of the group | |
Output: | |||
Function returns a Promise with the following data: | |||
success | bool | true if command completed successfully | |
error | string | error string if command has failed |
Comments
- The group enrollment should be open for the bot to be able to join.
- Group can be hidden from SL search.