Google Apps Script Library to decode and encode telegram file id
To use this library, look up with this ID: AKfycbwbR28s_mbU0cTvnQMvhWAV8fRHs-B_4FYu6CP3aowxITnMByeL9-nmVfQkpFb0eNO9FQ
Available functions:
- decode(file_id)
Parameters:
file_id (String):
file_id to decode
Returns:
Object:
Decoded file_id
Example result:
{
file_type: "VIDEO",
dc_id: 1,
has_web_location: false,
has_file_reference: true
}
Powered by Google Apps Script
Supported method: GET, POST
Parameters: file_id
If you found any bugs, report it to me
Or you can make PR to this repo :)
I'm appreciated your contribution!