Update telethon/events/inlinequery.py

Co-authored-by: Lonami <totufals@hotmail.com>
This commit is contained in:
penn5 2020-05-08 11:05:44 +01:00 committed by GitHub
parent 8220d93559
commit fb8d58258e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ class InlineQuery(EventBuilder):
query (:tl:`UpdateBotInlineQuery`): query (:tl:`UpdateBotInlineQuery`):
The original :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. you want the text rather than the actual query object.
pattern_match (`obj`, optional): pattern_match (`obj`, optional):