Codebase list golang-github-nlopes-slack / 933c2f7
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 changed file(s) with 5 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
11
22 // OutgoingMessage is used for the realtime API, and seems incomplete.
33 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"`
89 }
910
1011 // Message is an auxiliary type to allow us to have a message containing sub messages