mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Rename Entity type hint
This commit is contained in:
@@ -79,7 +79,7 @@ def _resize_photo_if_needed(
|
||||
|
||||
async def send_file(
|
||||
self: 'TelegramClient',
|
||||
dialog: 'hints.EntityLike',
|
||||
dialog: 'hints.DialogLike',
|
||||
file: typing.Optional[hints.FileLike] = None,
|
||||
*,
|
||||
# - Message contents
|
||||
@@ -114,7 +114,7 @@ async def send_file(
|
||||
clear_draft: bool = False,
|
||||
background: bool = None,
|
||||
noforwards: bool = None,
|
||||
send_as: 'hints.EntityLike' = None,
|
||||
send_as: 'hints.DialogLike' = None,
|
||||
schedule: 'hints.DateLike' = None,
|
||||
comment_to: 'typing.Union[int, _tl.Message]' = None,
|
||||
) -> '_tl.Message':
|
||||
|
Reference in New Issue
Block a user