Merge pull request #154 from kechako/add_thread_timestamp
Add ThreadTimestamp to OutgoingMessage
Florin Pățan authored 7 years ago
GitHub committed 7 years ago
1 | 1 | |
2 | 2 | // OutgoingMessage is used for the realtime API, and seems incomplete. |
3 | 3 | type OutgoingMessage struct { |
4 | ID int `json:"id"` | |
5 | Channel string `json:"channel,omitempty"` | |
6 | Text string `json:"text,omitempty"` | |
7 | Type string `json:"type,omitempty"` | |
4 | ID int `json:"id"` | |
5 | Channel string `json:"channel,omitempty"` | |
6 | Text string `json:"text,omitempty"` | |
7 | Type string `json:"type,omitempty"` | |
8 | ThreadTimestamp string `json:"thread_ts,omitempty"` | |
8 | 9 | } |
9 | 10 | |
10 | 11 | // Message is an auxiliary type to allow us to have a message containing sub messages |