1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2024-11-30 09:07:14 +02:00
go-notion/file.go
2021-12-20 20:12:44 +01:00

18 lines
281 B
Go

package notion
type FileFile struct {
URL string `json:"url"`
ExpiryTime DateTime `json:"expiry_time"`
}
type FileExternal struct {
URL string `json:"url"`
}
type FileType string
const (
FileTypeFile FileType = "file"
FileTypeExternal FileType = "external"
)