Fix mattermost 3.1.0 API change. Closes #24

This commit is contained in:
Wim 2016-06-23 20:29:51 +02:00
parent 6ec77e06ea
commit 78b17977c5

View File

@ -31,11 +31,11 @@ type IMessage struct {
TeamID string `schema:"team_id"` TeamID string `schema:"team_id"`
TeamDomain string `schema:"team_domain"` TeamDomain string `schema:"team_domain"`
ChannelID string `schema:"channel_id"` ChannelID string `schema:"channel_id"`
ServiceID string `schema:"service_id"`
ChannelName string `schema:"channel_name"` ChannelName string `schema:"channel_name"`
Timestamp string `schema:"timestamp"` Timestamp string `schema:"timestamp"`
UserID string `schema:"user_id"` UserID string `schema:"user_id"`
UserName string `schema:"user_name"` UserName string `schema:"user_name"`
PostId string `schema:"post_id"`
Text string `schema:"text"` Text string `schema:"text"`
TriggerWord string `schema:"trigger_word"` TriggerWord string `schema:"trigger_word"`
} }