mirror of
https://github.com/dstotijn/go-notion.git
synced 2025-06-15 00:05:04 +02:00
Add "Update block" endpoint
This commit is contained in:
3
block.go
3
block.go
@ -10,10 +10,11 @@ import (
|
||||
type Block struct {
|
||||
Object string `json:"object"`
|
||||
ID string `json:"id,omitempty"`
|
||||
Type BlockType `json:"type"`
|
||||
Type BlockType `json:"type,omitempty"`
|
||||
CreatedTime *time.Time `json:"created_time,omitempty"`
|
||||
LastEditedTime *time.Time `json:"last_edited_time,omitempty"`
|
||||
HasChildren bool `json:"has_children,omitempty"`
|
||||
Archived *bool `json:"archived,omitempty"`
|
||||
|
||||
Paragraph *RichTextBlock `json:"paragraph,omitempty"`
|
||||
Heading1 *Heading `json:"heading_1,omitempty"`
|
||||
|
Reference in New Issue
Block a user