ReuploadCdnFileRequest
Both users and bots can use this request. See code examples.
---functions--- upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector<FileHash>
Returns
A list of the following type is returned.
FileHash |
This type can only be an instance of:
FileHash |
Parameters
file_token | bytes | |
request_token | bytes |
Known RPC errors
This request can cause 1 known error:
RsaDecryptFailedError | Internal RSA decryption failed. |
You can import these from telethon.errors
.
Example
from telethon.sync import TelegramClient from telethon import functions, types with TelegramClient(name, api_id, api_hash) as client: result = client(functions.upload.ReuploadCdnFileRequest( file_token=b'arbitrary\x7f data \xfa here', request_token=b'arbitrary\x7f data \xfa here' )) for x in result: print(x)