From 8557effe1332b8a6c0a84a77835acf7c9f489ce5 Mon Sep 17 00:00:00 2001 From: penn5 Date: Sat, 6 Jun 2020 12:47:46 +0100 Subject: [PATCH] Fix docs in InlineQuery (#1425) --- telethon/events/inlinequery.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/telethon/events/inlinequery.py b/telethon/events/inlinequery.py index b23e3ac2..3ae3874e 100644 --- a/telethon/events/inlinequery.py +++ b/telethon/events/inlinequery.py @@ -79,11 +79,11 @@ class InlineQuery(EventBuilder): Represents the event of a new callback query. Members: - query (:tl:`UpdateBotCallbackQuery`): - The original :tl:`UpdateBotCallbackQuery`. + query (:tl:`UpdateBotInlineQuery`): + The original :tl:`UpdateBotInlineQuery`. - Make sure to access the `text` of the query if - that's what you want instead working with this. + 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): The resulting object from calling the passed ``pattern``