Add attachments fields.
This commit is contained in:
parent
77f4199262
commit
a639011a06
1 changed files with 8 additions and 1 deletions
|
@ -30,7 +30,14 @@ type Message struct {
|
|||
}
|
||||
|
||||
// An Attachment stores data for message attachments.
|
||||
type Attachment struct { //TODO figure this out
|
||||
type Attachment struct {
|
||||
Width int `json:"width"`
|
||||
URL string `json:"url"`
|
||||
Size int `json:"size"`
|
||||
ProxyURL string `json:"proxy_url"`
|
||||
ID string `json:"id"`
|
||||
Height int `json:"height"`
|
||||
Filename string `json:"filename"`
|
||||
}
|
||||
|
||||
// An Embed stores data for message embeds.
|
||||
|
|
Loading…
Reference in a new issue