mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Quote type hints
Otherwise, sphinx completely butchers the documentation.
This commit is contained in:
@@ -11,11 +11,11 @@ if typing.TYPE_CHECKING:
|
||||
class BotMethods(UserMethods):
|
||||
async def inline_query(
|
||||
self: 'TelegramClient',
|
||||
bot: hints.EntityLike,
|
||||
bot: 'hints.EntityLike',
|
||||
query: str,
|
||||
*,
|
||||
offset: str = None,
|
||||
geo_point: types.GeoPoint = None) -> custom.InlineResults:
|
||||
geo_point: 'types.GeoPoint' = None) -> custom.InlineResults:
|
||||
"""
|
||||
Makes an inline query to the specified bot (e.g. ``@vote New Poll``).
|
||||
|
||||
|
Reference in New Issue
Block a user