1
bot/models/audio.go
Andrew Privalov 83b28021a4
V6.6 (#20)
* api v6.6

* fix some tests on golangci lint

* update changelog and readme
2023-03-14 11:26:55 +03:00

15 lines
542 B
Go

package models
// Audio https://core.telegram.org/bots/api#audio
type Audio struct {
FileID string `json:"file_id"`
FileUniqueID string `json:"file_unique_id"`
Duration int `json:"duration"`
Performer string `json:"performer,omitempty"`
Title string `json:"title,omitempty"`
FileName string `json:"file_name,omitempty"`
MimeType string `json:"mime_type,omitempty"`
FileSize int64 `json:"file_size,omitempty"`
Thumbnail *PhotoSize `json:"thumbnail,omitempty"`
}