Difference between revisions of "Simple Groups API"

From SmartBots Developers Docs
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
The Group HTTP API commands are being sent to the bot by calling a special HTTP URL:
+
The Simple Group API commands are being sent to the bot by calling a special HTTP URL:
 
<syntaxhighlight lang="http">
 
<syntaxhighlight lang="http">
 
https://api.mysmartbots.com/api/simple.html
 
https://api.mysmartbots.com/api/simple.html
 
</syntaxhighlight>
 
</syntaxhighlight>
  
The request can be either GET or POST. Read the [[Calling Simple Group HTTP]] article for more info.
+
The request can be either GET or POST. Read the [[/Calling|Calling Simple Group API]] article for more info.
  
 
== Testing ==
 
== Testing ==
 +
 
You can compose and test your queries using SmartBots API Testing Suite:<br/>
 
You can compose and test your queries using SmartBots API Testing Suite:<br/>
 
http://www.mysmartbots.com/api/testing.html
 
http://www.mysmartbots.com/api/testing.html
  
== Available group HTTP commands ==
+
== Available Simple Group API commands ==
  
 
{{API_Table_start|Command|Description}}
 
{{API_Table_start|Command|Description}}
Line 17: Line 18:
 
{{API_Entry|HTTP Group Command|invite}}
 
{{API_Entry|HTTP Group Command|invite}}
 
{{API_Entry|HTTP Group Command|eject}}
 
{{API_Entry|HTTP Group Command|eject}}
 +
{{API_Entry|HTTP Group Command|send_group_im}}
 +
{{API_Entry|HTTP Group Command|set_http_callback}}
  
 
{{API_Table_end}}
 
{{API_Table_end}}

Latest revision as of 12:33, 8 March 2022

The Simple Group API commands are being sent to the bot by calling a special HTTP URL:

https://api.mysmartbots.com/api/simple.html

The request can be either GET or POST. Read the Calling Simple Group API article for more info.

Testing

You can compose and test your queries using SmartBots API Testing Suite:
http://www.mysmartbots.com/api/testing.html

Available Simple Group API commands

Command Description

Membership

invite Sends the group invitation to specific resident.
eject Ejects residents from the group.
send_group_im Send message to the group chat.
set_http_callback Set HTTP callback to be called on group events.