From fb8d58258e263129288ca19602b3f5c1bdb1bbd9 Mon Sep 17 00:00:00 2001 From: penn5 Date: Fri, 8 May 2020 11:05:44 +0100 Subject: [PATCH] Update telethon/events/inlinequery.py Co-authored-by: Lonami --- telethon/events/inlinequery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/events/inlinequery.py b/telethon/events/inlinequery.py index d733d9df..3ae3874e 100644 --- a/telethon/events/inlinequery.py +++ b/telethon/events/inlinequery.py @@ -82,7 +82,7 @@ class InlineQuery(EventBuilder): query (:tl:`UpdateBotInlineQuery`): The original :tl:`UpdateBotInlineQuery`. - Make sure to access the `query` property of the query if + Make sure to access the `text` property of the query if you want the text rather than the actual query object. pattern_match (`obj`, optional):