summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorHanzei <Hanzei@users.noreply.github.com>2018-09-19 14:39:37 +0200
committerJoram Wilander <jwawilander@gmail.com>2018-09-19 08:39:36 -0400
commit1463df21a57290f8c74fe4ad58deffb111b9f79e (patch)
tree501598bb152ef80f6e70317781c1b29350dc4c70 /model
parent0204c45b7ac308d31c1d4249a2dc92fd44d76aec (diff)
downloadchat-1463df21a57290f8c74fe4ad58deffb111b9f79e.tar.gz
chat-1463df21a57290f8c74fe4ad58deffb111b9f79e.tar.bz2
chat-1463df21a57290f8c74fe4ad58deffb111b9f79e.zip
Add ChannelId and TeamId to PostActionIntegrationRequest (#9384)
* Add ChannelId and TeamId to PostActionIntegrationRequest * Add tests
Diffstat (limited to 'model')
-rw-r--r--model/post.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/model/post.go b/model/post.go
index 0df698279..1f89cb419 100644
--- a/model/post.go
+++ b/model/post.go
@@ -154,6 +154,8 @@ type PostActionIntegration struct {
type PostActionIntegrationRequest struct {
UserId string `json:"user_id"`
+ ChannelId string `json:"channel_id"`
+ TeamId string `json:"team_id"`
PostId string `json:"post_id"`
Type string `json:"type"`
DataSource string `json:"data_source"`