1
bot/models/file.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

10 lines
268 B
Go

package models
// File https://core.telegram.org/bots/api#file
type File struct {
FileID string `json:"file_id"`
FileUniqueID string `json:"file_unique_id"`
FileSize int64 `json:"file_size,omitempty"`
FilePath string `json:"file_path,omitempty"`
}