mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-15 00:05:04 +02:00
Add "append block children" endpoint support
This commit is contained in:
2
block.go
2
block.go
@ -10,7 +10,7 @@ type Block struct {
|
||||
Type BlockType `json:"type"`
|
||||
CreatedTime *time.Time `json:"created_time,omitempty"`
|
||||
LastEditedTime *time.Time `json:"last_edited_time,omitempty"`
|
||||
HasChildren bool `json:"has_children"`
|
||||
HasChildren bool `json:"has_children,omitempty"`
|
||||
|
||||
Paragraph *RichTextBlock `json:"paragraph,omitempty"`
|
||||
Heading1 *Heading `json:"heading_1,omitempty"`
|
||||
|
Reference in New Issue
Block a user