feat(message): added content_type to MessageAttachment

This commit is contained in:
nitroflap 2022-02-26 15:01:01 +03:00
parent dd5b9c6c05
commit f25b625499
No known key found for this signature in database
GPG key ID: 810F53DB0E0F81A8

View file

@ -321,6 +321,7 @@ type MessageAttachment struct {
URL string `json:"url"` URL string `json:"url"`
ProxyURL string `json:"proxy_url"` ProxyURL string `json:"proxy_url"`
Filename string `json:"filename"` Filename string `json:"filename"`
ContentType string `json:"content_type"`
Width int `json:"width"` Width int `json:"width"`
Height int `json:"height"` Height int `json:"height"`
Size int `json:"size"` Size int `json:"size"`