1
bot/models/voice.go
Andrew Zhukovskiy eba8c31e95
Changed some field data types to int64 (#11)
To fix crashes on 32-bit systems.
Also, it explicitly says so at https://core.telegram.org/bots/api
2023-01-13 17:18:22 +03:00

11 lines
310 B
Go

package models
// Voice https://core.telegram.org/bots/api#voice
type Voice struct {
FileID string `json:"file_id"`
FileUniqueID string `json:"file_unique_id"`
Duration int `json:"duration"`
MimeType string `json:"mime_type,omitempty"`
FileSize int64 `json:"file_size,omitempty"`
}