From ed4f234fd82761a68440bebc929dda4ff32271fc Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Sun, 19 Dec 2021 22:40:16 +0530 Subject: [PATCH] fix: buttonText should be optional --- src/Types/Message.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Types/Message.ts b/src/Types/Message.ts index 6d63a77..d505a78 100644 --- a/src/Types/Message.ts +++ b/src/Types/Message.ts @@ -66,7 +66,7 @@ type Listable = { title?: string /** Text of the bnutton on the list (required) */ - buttonText: string + buttonText?: string } type WithDimensions = { width?: number