I have a telegram bot that you can text a YouTube link and it replys with a link that you can open to download the audio format. I wanted to make it more efficient and instead of sending a link (using bot.sendMessage()) that you can click to download, How can I make the bot send the audio it self from the link using bot.sendAudio()? ... Thanks in advance
问问题
927 次
1 回答
2
Just use URL string instead of file in sendAudio method.
Note that you can send max 20MB of content.
于 2017-07-23T09:09:34.937 回答