feat: ephemeral attachments (#1008)

This commit is contained in:
Fedor Lapshin 2021-10-10 18:09:59 +03:00 committed by GitHub
parent 9f89234f3f
commit f0b7e81468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.