Add FileUniqueID to ChatAnimation (ref. https://core.telegram.org/bots/api#animation)
parent
3635031d74
commit
e18071bed1
17
types.go
17
types.go
|
@ -353,14 +353,15 @@ type MaskPosition struct {
|
||||||
|
|
||||||
// ChatAnimation contains information about an animation.
|
// ChatAnimation contains information about an animation.
|
||||||
type ChatAnimation struct {
|
type ChatAnimation struct {
|
||||||
FileID string `json:"file_id"`
|
FileID string `json:"file_id"`
|
||||||
Width int `json:"width"`
|
FileUniqueID string `json:"file_unique_id"`
|
||||||
Height int `json:"height"`
|
Width int `json:"width"`
|
||||||
Duration int `json:"duration"`
|
Height int `json:"height"`
|
||||||
Thumbnail *PhotoSize `json:"thumb"` // optional
|
Duration int `json:"duration"`
|
||||||
FileName string `json:"file_name"` // optional
|
Thumbnail *PhotoSize `json:"thumb"` // optional
|
||||||
MimeType string `json:"mime_type"` // optional
|
FileName string `json:"file_name"` // optional
|
||||||
FileSize int `json:"file_size"` // optional
|
MimeType string `json:"mime_type"` // optional
|
||||||
|
FileSize int `json:"file_size"` // optional
|
||||||
}
|
}
|
||||||
|
|
||||||
// Video contains information about a video.
|
// Video contains information about a video.
|
||||||
|
|
Loading…
Reference in New Issue