From 8f8f4e9daf1c2e1d617db445115c258fa22cc1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Gw=C3=B3=C5=BAd=C5=BA?= Date: Mon, 14 Aug 2023 10:29:00 +0200 Subject: [PATCH] add `omitempty` to ConfirmationBlockObject.Deny a --- block_object.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block_object.go b/block_object.go index f70405eba..b39ff2287 100644 --- a/block_object.go +++ b/block_object.go @@ -177,7 +177,7 @@ type ConfirmationBlockObject struct { Title *TextBlockObject `json:"title"` Text *TextBlockObject `json:"text"` Confirm *TextBlockObject `json:"confirm"` - Deny *TextBlockObject `json:"deny"` + Deny *TextBlockObject `json:"deny,omitempty"` Style Style `json:"style,omitempty"` }