sendNotice

From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 21:14, 2 July 2016 by Phil (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Sends a notice to the group.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.sendNotice(groupuuid, subject, text, attachme...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sends a notice to the group.

Bot.sendNotice(groupuuid, subject, text, attachment);

Reference

This command accepts the following parameters:

Variable Required Description


Input:
groupuuid yes the UUID of the group
subject yes the subject of the notice (can't contain international characters)
text yes the text of the notice (can contain international characters)
attachment optional inventory UUID of the attachment (see below)
Output:
Function returns a Promise with the following data:
success bool true if command completed successfully
error string error string if command has failed