Fix docs in InlineQuery (#1425)

This commit is contained in:
penn5 2020-06-06 12:47:46 +01:00 committed by GitHub
parent c904b7ccd8
commit 8557effe13
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 `text` 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``