slack.send
The slack.send command is used to send a message to a Slack channel.
TR50 Request
                        {
  "cmd" : {
    "command" : "slack.send",
    "params" : {
      "webhook" : "http://www.example.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX",
      "channel" : "#general",
      "text" : "The text"
    }
  }
}
      
      
      Request Parameters
| 
                         Name  | 
                     
                         Type  | 
                     
                         Required  | 
                     
                         Description  | 
                  
|---|---|---|---|
| 
                         webhook  | 
                     
                         String  | 
                     
                         Yes  | 
                     
                         The target URL of the message, also known as the webhook URL.  | 
                  
| 
                         channel  | 
                     
                         String  | 
                     
                         Yes  | 
                     
                         The name of the Slack channel that is the target of the message.  | 
                  
| 
                         text  | 
                     
                         String  | 
                     
                         Yes  | 
                     
                         The arbitrary message to send to Slack.  | 
                  
TR50 Response
If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.
                        {
  "cmd": {
    "success": true
  }
}
      
      
      