From 9e5dc5887806dae5285f71e5b5a13781267e1fc7 Mon Sep 17 00:00:00 2001 From: Anatoy Nosov Date: Sun, 1 Aug 2021 12:38:11 +0500 Subject: [PATCH] Add children to paragraph block --- block.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/block.go b/block.go index 872a65d..2b6d61d 100644 --- a/block.go +++ b/block.go @@ -95,7 +95,8 @@ type ParagraphBlock struct { LastEditedTime *time.Time `json:"last_edited_time,omitempty"` HasChildren bool `json:"has_children,omitempty"` Paragraph struct { - Text Paragraph `json:"text"` + Text Paragraph `json:"text"` + Children []Block `json:"children"` } `json:"paragraph"` }