I have a file in telegram and I want put it in my website with telegram bot api . but I don't want to share my bot token. for example my real path is :
https://api.telegram.org/file/botxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/photos/file_1.jpg
Note : xxxx
is my bot token.
How can I set a url in my website that a user click on it download a file with don't see this url like :
http://my_domain.com/?file=file_1.jpg
And I redirect user to this url without see this url :
https://api.telegram.org/file/botxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/photos/file_1.jpg