Copy file
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Your bot ID.
The bot ID to copy the file to. You must have permission to create files in the destination bot. If the destination bot ID is omitted, the file will be copied to the same bot the source file belongs to.
File ID or Key
The new key of the file. The file key must not be in use already in the destination bot.
Additional options for file copying.
The body is of type object
.
An object containing the file metadata and URL
The response is of type object
.