From d029bb7ab66b3a6f2d838f1fd5019bd86d535092 Mon Sep 17 00:00:00 2001 From: Aleksandr Bukhalo Date: Sat, 31 May 2025 10:33:36 +0300 Subject: [PATCH] make `buttons` key optional in `PopupParams` interface --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index 1ba2cb8..f4f1cf7 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1301,7 +1301,7 @@ export declare namespace TelegramWebApps { * List of buttons to be displayed in the popup, 1-3 buttons. Set to * *[{“type”:“close”}]* by default. */ - buttons: PopupButton[] + buttons?: PopupButton[] } /**