mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-15 00:05:04 +02:00
Initial commit
This commit is contained in:
17
user.go
Normal file
17
user.go
Normal file
@ -0,0 +1,17 @@
|
||||
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"`
|
||||
}
|
Reference in New Issue
Block a user