1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2024-11-24 08:42:26 +02:00
go-notion/user.go

18 lines
307 B
Go
Raw Normal View History

2021-05-13 22:11:32 +02:00
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"`
}