link to that file?
how can i do this in php
Google is your friend
Than you have to figure it out yourself, no one is going to code for you
this not my question What are the steps that I have to write in the code to convert the redirection into a link to the file?
you need to host the file somewhere first
You need to upload it and then send the link
you can use gdrive client in php to do that
What's the steps well it start with <?PHP ....
forward file my bot will delete the file then send new message with link for the file in the original channel
i don't understand, can you describe better what you're trying to do?
Note that bot api allows you to download files under 50mb. you might want to host a bot api instance with --local flag first.
Someone is forwarding a file from any telegram channel to my group I want to program the bot to delete the file and send a message containing a link to the file in the channel from which it was redirected
alright, sounds easy enough, so what is the problem?
Обсуждают сегодня