소스 검색

Added check on Auth buttons (#315)

Idel Gataullin 3 년 전
부모
커밋
b8d80e6272
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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
         );
     }