pytdbot/client

Download document

Closed this issue · 1 comments

How i can download document in pytdbot ?

You can use message.download().

See:

async def download(self, file_id: int = None) -> Result:
"""Download the current received media
Args:
file_id (``int``, *optional*):
File identifier to download. Default is None (:meth:`~pytdbot.types.Update.local_file_id`)
Returns:
:class:`~pytdbot.types.Result`
"""