mirror of
https://github.com/dstotijn/go-notion.git
synced 2024-11-24 08:42:26 +02:00
18 lines
307 B
Go
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"`
|
|
}
|