File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -161,10 +161,13 @@ type GridMigrationStartedEvent struct {
161
161
162
162
// LinkSharedEvent A message was posted containing one or more links relevant to your application
163
163
type LinkSharedEvent struct {
164
- Type string `json:"type"`
165
- User string `json:"user"`
166
- TimeStamp string `json:"ts"`
167
- Channel string `json:"channel"`
164
+ Type string `json:"type"`
165
+ User string `json:"user"`
166
+ TimeStamp string `json:"ts"`
167
+ Channel string `json:"channel"`
168
+ // MessageTimeStamp can be both a numeric timestamp if the LinkSharedEvent corresponds to a sent
169
+ // message and (contrary to the field name) a uuid if the LinkSharedEvent is generated in the
170
+ // compose text area.
168
171
MessageTimeStamp string `json:"message_ts"`
169
172
ThreadTimeStamp string `json:"thread_ts"`
170
173
Links []sharedLinks `json:"links"`
You can’t perform that action at this time.
0 commit comments