From 264e7427e3bc0a2729210417a02afb606966a75e Mon Sep 17 00:00:00 2001 From: Lorenzo Aiello Date: Mon, 14 Oct 2024 10:27:38 -0700 Subject: [PATCH] fix: Ensures the Emoji Block Kit Unicode is Optional --- block_rich_text.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block_rich_text.go b/block_rich_text.go index c6eb0b1ba..20cabd69c 100644 --- a/block_rich_text.go +++ b/block_rich_text.go @@ -341,7 +341,7 @@ type RichTextSectionEmojiElement struct { Type RichTextSectionElementType `json:"type"` Name string `json:"name"` SkinTone int `json:"skin_tone"` - Unicode string `json:"unicode,omitempty"` + Unicode *string `json:"unicode,omitempty"` Style *RichTextSectionTextStyle `json:"style,omitempty"` }