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):