From 0cc9ca9bd9bd913f62c4c26e9a435fc2bedb7bb2 Mon Sep 17 00:00:00 2001 From: misuzu Date: Mon, 28 Aug 2023 18:40:23 +0300 Subject: [PATCH] Fix `is_inline` check for `KeyboardButtonWebView` (#4183) --- telethon/tl/custom/button.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/telethon/tl/custom/button.py b/telethon/tl/custom/button.py index 0ed9a43d..1b7d71e4 100644 --- a/telethon/tl/custom/button.py +++ b/telethon/tl/custom/button.py @@ -54,7 +54,8 @@ class Button: types.KeyboardButtonGame, types.KeyboardButtonSwitchInline, types.KeyboardButtonUrl, - types.InputKeyboardButtonUrlAuth + types.InputKeyboardButtonUrlAuth, + types.KeyboardButtonWebView, )) @staticmethod