Selaa lähdekoodia

Added check on Auth buttons (#315)

Idel Gataullin 3 vuotta sitten
vanhempi
commit
b8d80e6272
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      gramjs/tl/custom/button.ts

+ 2 - 1
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
         );
     }