Fix docs in InlineQuery

This commit is contained in:
penn5 2020-04-03 11:47:31 +01:00 committed by GitHub
parent 15f30ed942
commit 8220d93559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,11 +79,11 @@ class InlineQuery(EventBuilder):
Represents the event of a new callback query. Represents the event of a new callback query.
Members: Members:
query (:tl:`UpdateBotCallbackQuery`): query (:tl:`UpdateBotInlineQuery`):
The original :tl:`UpdateBotCallbackQuery`. The original :tl:`UpdateBotInlineQuery`.
Make sure to access the `text` of the query if Make sure to access the `query` property of the query if
that's what you want instead working with this. you want the text rather than the actual query object.
pattern_match (`obj`, optional): pattern_match (`obj`, optional):
The resulting object from calling the passed ``pattern`` The resulting object from calling the passed ``pattern``