File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -352,15 +352,17 @@ type MessageAllowedMentions struct {
352
352
353
353
// A MessageAttachment stores data for message attachments.
354
354
type MessageAttachment struct {
355
- ID string `json:"id"`
356
- URL string `json:"url"`
357
- ProxyURL string `json:"proxy_url"`
358
- Filename string `json:"filename"`
359
- ContentType string `json:"content_type"`
360
- Width int `json:"width"`
361
- Height int `json:"height"`
362
- Size int `json:"size"`
363
- Ephemeral bool `json:"ephemeral"`
355
+ ID string `json:"id"`
356
+ URL string `json:"url"`
357
+ ProxyURL string `json:"proxy_url"`
358
+ Filename string `json:"filename"`
359
+ ContentType string `json:"content_type"`
360
+ Width int `json:"width"`
361
+ Height int `json:"height"`
362
+ Size int `json:"size"`
363
+ Ephemeral bool `json:"ephemeral"`
364
+ DurationSecs float64 `json:"duration_secs"`
365
+ Waveform string `json:"waveform"`
364
366
}
365
367
366
368
// MessageEmbedFooter is a part of a MessageEmbed struct.
You can’t perform that action at this time.
0 commit comments