1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2024-11-28 08:58:51 +02:00
go-notion/user.go
2021-05-13 22:11:32 +02:00

18 lines
307 B
Go

package notion
type Person struct {
Email string `json:"email"`
}
type Bot struct{}
type User struct {
ID string `json:"id"`
Type string `json:"type"`
Name string `json:"name"`
AvatarURL *string `json:"avatar_url"`
Person *Person `json:"person"`
Bot *Bot `json:"bot"`
}