Skip to content

Commit

Permalink
feat: ephemeral attachments (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Oct 10, 2021
1 parent 9f89234 commit f0b7e81
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions message.go
Expand Up @@ -288,13 +288,14 @@ type MessageAllowedMentions struct {

// A MessageAttachment stores data for message attachments.
type MessageAttachment struct {
ID string `json:"id"`
URL string `json:"url"`
ProxyURL string `json:"proxy_url"`
Filename string `json:"filename"`
Width int `json:"width"`
Height int `json:"height"`
Size int `json:"size"`
ID string `json:"id"`
URL string `json:"url"`
ProxyURL string `json:"proxy_url"`
Filename string `json:"filename"`
Width int `json:"width"`
Height int `json:"height"`
Size int `json:"size"`
Ephemeral bool `json:"ephemeral"`
}

// MessageEmbedFooter is a part of a MessageEmbed struct.
Expand Down

0 comments on commit f0b7e81

Please sign in to comment.