Difference between revisions of "Bot Playground/Commands/im"

From SmartBots Developers Docs
Jump to: navigation, search
Line 3: Line 3:
  
 
<syntaxhighlight lang="javascript">
 
<syntaxhighlight lang="javascript">
Bot.im( firstName, message );
+
Bot.im( firstName_or_UUID, message );
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 10: Line 10:
  
 
{{API Variable Group|Input}}
 
{{API Variable Group|Input}}
{{API Variable|firstName|yes}}The name of the avatar
+
{{API Variable|firstName|yes}} The name or UUID of the avatar
{{API Variable|message |yes}}The message to send
+
{{API Variable|message |yes}} The message to send
 
{{API Variable Group|Output}}
 
{{API Variable Group|Output}}
 
{{API Return none}}
 
{{API Return none}}

Revision as of 13:44, 1 July 2016

Sends Instant Message to specific avatar.

Bot.im( firstName_or_UUID, message );

Reference

This command accepts the following parameters:

Variable Required Description


Input:
firstName yes The name or UUID of the avatar
message yes The message to send
Output:
result This function does not return anything

Comments