Read one file of a role you may play
A file of that role or a shared file. Range and If-None-Match are honoured after the authority check.
Authentication
X-API-Keystring
Enter your API key for programmatic access
Path parameters
chat_id
installation_id
role
path
Headers
Range
One byte span, as bytes=first-last, bytes=first- or bytes=-suffix, as on room files. A range that cannot be parsed is ignored and the whole file is returned.
Response
The file, as an attachment.
Errors
404
Not Found Error
416
Range Not Satisfiable Error
503
Service Unavailable Error