SpiceQA
Questions Tags Users Badges

How do i send mp3 url with python using telegram bot

muntazir halim 0
Created Sep 19, 2022 Edited Sep 19, 2022
Viewed 25

How to send a direct registration link without the content

audio url : https://rr2---sn-o5f54xui5ai5qi5g5-nq5e.googlevideo.com/videoplayback?expire=1663613647&ei=b2YoY_mDKcvh7gOMlqq4BA&ip=2a01%3A7e01%3A%3Af03c%3A93ff%3Afe9c%3A5a67&id=o-AAp81LS08FVZQTtbauwMghXXnrKfmyy3GcVC9bl3JxP_&itag=251&source=youtube&requiressl=yes&vprv=1&mime=audio%2Fwebm&gir=yes&clen=4906534&dur=331.701&lmt=1632808245191808&keepalive=yes&fexp=24001373,24007246&c=ANDROID&rbqsm=fr&txp=5532434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAKVCS5gAkpfQQZC30qivYFwIdq09V8wtE9brH8NrjCgrAiB-SLQQOqgbrnsYxzBpjN2kwIXvQgleasrf5E-8a2UpdQ%3D%3D&redirect_counter=1&rm=sn-4g5edl7z&req_id=aa56a609a229a3ee&cms_redirect=yes&cmsv=e&ipbypass=yes&mh=3s&mip=37.239.52.22&mm=31&mn=sn-o5f54xui5ai5qi5g5-nq5e&ms=au&mt=1663591979&mv=m&mvi=2&pl=24&lsparams=ipbypass,mh,mip,mm,mn,ms,mv,mvi,pl&lsig=AG3C_xAwRAIgeyMBuX4t5y81u1lG6W3vpGHsVo8guaNWfFwiYmXLBQMCIEeVP-1ZrBFlY0KzGm4ECQgztWHw8Lez0B64R6rf6h9b

DataAudio=requests.get(musc).content

bot.send_audio(id, DataAudio,title=Title,performer='YouTube')

How do I send a url instead of a file?

bot.send_audio(chat_id=chat_id, audio=open('tests/test.mp3', 'rb'))

send telebot audio python
Share
0 Answers
Related
Terms of service Privacy policy
Powered by Answer