im
From SmartBots Developers Docs
Sends Instant Message to specific avatar.
Bot.im( firstName, message );
Reference
This command accepts the following parameters:
| Variable | Required | Description
| |
|---|---|---|---|
| Input: | |||
| firstName | yes | The name of the avatar | |
| message | yes | The message to send | |
| Output: | |||
| Function returns a Promise with the following data: | |||
| success | bool | true if command completed successfully | |
| error | string | error string if command has failed | |
| result | This function does not return anything | ||