From d0fc8b07b3712ac6a4ca2a1616811db4720d0783 Mon Sep 17 00:00:00 2001 From: Idel Gataullin Date: Tue, 10 May 2022 16:01:30 +0300 Subject: [PATCH] Update button.ts Added check on Auth buttons --- gramjs/tl/custom/button.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramjs/tl/custom/button.ts b/gramjs/tl/custom/button.ts index 1ac332af..281afd63 100644 --- a/gramjs/tl/custom/button.ts +++ b/gramjs/tl/custom/button.ts @@ -31,7 +31,8 @@ export class Button { button instanceof Api.KeyboardButtonCallback || button instanceof Api.KeyboardButtonSwitchInline || button instanceof Api.KeyboardButtonUrl || - button instanceof Api.KeyboardButtonUrlAuth + button instanceof Api.KeyboardButtonUrlAuth || + button instanceof Api.InputKeyboardButtonUrlAuth ); }