An Telegram Bot to Play Radio/Music in Channel or Group Voice Chats.
Special Features
- Playlist, queue, 24x7 radio stream
- Loop one track when there is only one track in the playlist
- Automatically downloads audio for the first two tracks in the playlist to ensure smooth playing
- Show current playing position of the audio
- Control with buttons and commands
- Download songs from YouTube as audio
Support Channel: @AsmSafone
Support Group: safothebot
Requirements
- Python 3.6 or higher.
- A Telegram API key and a Telegram account.
- FFmpeg Python
- Telegram String Session of the account.
- Userbot Needs To Be Admin In The Channel or Group.
Heroku Vars:
- ADMINS: @TGIdsBot
- API_HASH & API_ID: my.telegram.org
- BOT_TOKEN: @Botfather
- CHAT: @TGIdsBot
- LOG_GROUP: @TGIdsBot [if Channel then leave blank]
- SESSION_STRING: tgsession.infotelbot.com
- STREAM_URL: https://www.infotelbot.com/2021/09/Stream-link-telegram-bot.html
Radio Garden [ Open Chrome Browser]
7.1 Chrome Extension: https://chrome.google.com/webstore/detail/video-downloadhelper/lmjnegcaeklhafolokijcfjliaokphfk
7.2 Link: https://radio.garden
Live Radio Streaming Links: https://www.infotelbot.com/2021/09/Stream-link-telegram-bot.html
Note:
- Enable the worker after deploy the project to Heroku.
- Bot will starts radio automatically in given CHAT with given STREAM_URL after deploy.
- 24x7 Music even if Heroku restarts, radio stream restarts automatically.
- To play a song just send the audio file to Bot or reply to an audio with /play to start playing it in the voice chat.
- To download audio you can use @SafoneMusicBot or /song command to the bot.
- Use /help to know about other commands & its usage.
hey please make video on setup this bot on cpanel hosting with python enabled
ReplyDeletecan i host it in repl.it?
ReplyDeletehello i am having this error tying to deploy the project, can you help me?
ReplyDeletepyrogram.errors.exceptions.bad_request_400.BotMethodInvalid: [400 BOT_METHOD_INVALID]: The method can't be used by bots (caused by "phone.LeaveGroupCall")