Difference between revisions of "Simple Groups API"

From SmartBots Developers Docs
Jump to: navigation, search
 
Line 18: 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_Entry|HTTP Group Command|set_http_callback}}
  

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.