Rename Entity type hint

This commit is contained in:
Lonami Exo
2022-03-02 12:38:59 +01:00
parent c3cefef37c
commit 68d07beb21
9 changed files with 77 additions and 77 deletions

View File

@@ -10,10 +10,10 @@ if typing.TYPE_CHECKING:
async def inline_query(
self: 'TelegramClient',
bot: 'hints.EntityLike',
bot: 'hints.DialogLike',
query: str,
*,
dialog: 'hints.EntityLike' = None,
dialog: 'hints.DialogLike' = None,
offset: str = None,
geo_point: '_tl.GeoPoint' = None) -> _custom.InlineResults:
bot = await self.get_input_entity(bot)