PLT-7684 Add support to outgoing webhooks and slash commands to set post type and props (#7531)

* Add support to outgoing webhooks and slash commands to set post type and props

* Fix nil access
This commit is contained in:
Joram Wilander
2017-09-28 09:08:16 -07:00
committed by Corey Hulen
parent 884cf494cb
commit f263d2b951
8 changed files with 68 additions and 3 deletions
+2
View File
@@ -20,6 +20,8 @@ type CommandResponse struct {
Text string `json:"text"`
Username string `json:"username"`
IconURL string `json:"icon_url"`
Type string `json:"type"`
Props StringInterface `json:"props"`
GotoLocation string `json:"goto_location"`
Attachments []*SlackAttachment `json:"attachments"`
}