diff --git a/block.go b/block.go index da4af31..142d809 100644 --- a/block.go +++ b/block.go @@ -78,7 +78,8 @@ type Callout struct { type Code struct { RichTextBlock - Language *string `json:"language,omitempty"` + Caption []RichText `json:"caption,omitempty"` + Language *string `json:"language,omitempty"` } type Embed struct {