summaryrefslogtreecommitdiffstats
path: root/model/command_response.go
diff options
context:
space:
mode:
authorYusuke Nemoto <kaakaa@users.noreply.github.com>2016-11-17 23:19:11 +0900
committerChristopher Speller <crspeller@gmail.com>2016-11-17 09:19:11 -0500
commitbe74ec22414a9a34f458a0fb30ea14e2d02dcd3f (patch)
tree02e51253cb11d70f99611599ea204cb786bd38d7 /model/command_response.go
parent11b0f64c6087578aada5a359439491e4592c47e9 (diff)
downloadchat-be74ec22414a9a34f458a0fb30ea14e2d02dcd3f.tar.gz
chat-be74ec22414a9a34f458a0fb30ea14e2d02dcd3f.tar.bz2
chat-be74ec22414a9a34f458a0fb30ea14e2d02dcd3f.zip
plt-2610 allow slash command to override username/icon_url (#4378)
Diffstat (limited to 'model/command_response.go')
-rw-r--r--model/command_response.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/model/command_response.go b/model/command_response.go
index 9314f38ef..bbb70418e 100644
--- a/model/command_response.go
+++ b/model/command_response.go
@@ -16,6 +16,8 @@ const (
type CommandResponse struct {
ResponseType string `json:"response_type"`
Text string `json:"text"`
+ Username string `json:"username"`
+ IconURL string `json:"icon_url"`
GotoLocation string `json:"goto_location"`
Attachments interface{} `json:"attachments"`
}