From 938d5467799fc96dd76a1fa9e4de5f4386dc043a Mon Sep 17 00:00:00 2001 From: Sarah Jiang Date: Wed, 12 Jun 2024 09:54:30 -0700 Subject: [PATCH] ButtonAction value field not required --- src/types/actions/block-action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/actions/block-action.ts b/src/types/actions/block-action.ts index 402a813d6..8c1d2b581 100644 --- a/src/types/actions/block-action.ts +++ b/src/types/actions/block-action.ts @@ -44,7 +44,7 @@ export interface BasicElementAction { * An action from a button element */ export interface ButtonAction extends BasicElementAction<'button'> { - value: string; + value?: string; text: PlainTextElement; url?: string; confirm?: Confirmation;