A Telegram UserBot to Play Radio in Voice Chats. This is also the source code of the userbot which is being used for playing Radio in @AsmSafone Channel.

Overview

Telegram Radio Player UserBot

A Telegram UserBot to Play Radio in Channel or Group Voice Chats.

This is also the source code of the userbot which is being used for playing Radio in AsmSafone Channel.

Deploy to Heroku (The Easy Way)

Deploy

  • Generate pyrogram session string by String Session Generator Bot or running genStr.py by yourself on heroku run console.
  • Then Enable the worker after deploy the project on Heroku Resources Tab.

Heroku Vars

  1. API_ID : Get From my.telegram.org
  2. API_HASH : Get from my.telegram.org
  3. SESSION : Generate from @genStr robot.
  4. CHAT_NAME : Username of Channel/Group where the bot plays Radio.
  5. ADMIN : ID of user who can who can control the userbot.

Requirements

Run On VPS (The Hard Way)

$ git clone https://github.com/AsmSafone/RadioPlayer
$ cd RadioPlayer
$ sudo apt-get install ffmpeg
$ pip3 install -U pip
$ pip3 install -U -r requirements.txt

Edit config.py with your own values.

$ python3 main.py

Credits

  • @AsmSafone [Dev]
  • @MarshalX [For tgcalls]
You might also like...
A bot that can play songs in Telegram group voice chats like AK 47

🎧 47Music Player 🎧 A bot that can play songs in Telegram group voice chats like AK 47 ✨ Easy To Deploy Pyrogram Session Config Vars API_ID : Assista

Rocks vc Userbot: A Telegram Bot Project That's Allow You To Play Audio And Video Music On Telegram Voice Chat Group

⭐️ Rocks VC Userbot ⭐️ Telegram Userbot To Play Audio And Video Song On VC Chat

A Simple Telegram Bot By @AsmSafone to Download Files From Mega.nz and Upload It to Telegram

MegaDL-Bot A Simple Telegram Bot By @AsmSafone to Download Files From Mega.nz and Upload It to Telegram Features No Login Required All Mega.nz File Li

The official Magenta Voice Skill SDK used to develop skills for the Magenta Voice Assistant using Voice Platform!

Magenta Voice Skill SDK Development • Support • Contribute • Contributors • Licensing Magenta Voice Skill SDK for Python is a package that assists in

ANKIT-OS/TG-MUSIC-PLAYER a special repository. Its Is A Telegram Bot To Play To Play Music In Voice Chat
ANKIT-OS/TG-MUSIC-PLAYER a special repository. Its Is A Telegram Bot To Play To Play Music In Voice Chat

🔥 🎶 TG MUSIC PLAYER 🎶 🔥 The owner would not be responsible for any kind of bans due to the bot. • ⚡ INSTALLING ⚡ • • 🛠️ Lᴀɴɢᴜᴀɢᴇs Aɴᴅ Tᴏᴏʟs 🔰 •

This bot can stream audio or video files and urls in telegram voice chats :)

Voice Chat Streamer This bot can stream audio or video files and urls in telegram voice chats :) 🎯 Follow me and star this repo for more telegram bot

Based Telegram Bot and Userbot To Play Music in Your Telegram Groups With Some Cool Extra Features! 🥰
Based Telegram Bot and Userbot To Play Music in Your Telegram Groups With Some Cool Extra Features! 🥰

CallMusicPlus69 This Repo base on! 🤗️ A CallsMusic Based Telegram Bot and Userbot To Play Music in Your Telegram Groups With Some Cool Extra Features

veez music bot is a telegram music bot project, allow you to play music on voice chat group telegram.
veez music bot is a telegram music bot project, allow you to play music on voice chat group telegram.

🎶 Veez Music Bot Music bot for playing music on telegram voice chat group. Requirements 📝 FFmpeg NodeJS nodesource.com Python 3.7+ PyTgCalls 🧪 Get

veez music is a telegram music bot project, allow you to play music on voice chat group telegram.
veez music is a telegram music bot project, allow you to play music on voice chat group telegram.

🎶 VEEZ MUSIC BOT Veez Music is a telegram bot project that's allow you to play music on telegram voice chat group. Requirements 📝 FFmpeg NodeJS node

Comments
  • New

    New

    """ RadioPlayer, Telegram Voice Chat Bot Copyright (c) 2021 Asm Safone https://github.com/AsmSafone This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/ """

    import os import sys import subprocess import asyncio from signal import SIGINT from pyrogram import Client, filters from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton from utils import USERNAME, FFMPEG_PROCESSES, mp from config import Config

    CHAT=Config.CHAT msg=Config.msg HOME_TEXT = "👋🏻 Hi {},\n\nI'm Radio Player V3.0 \nI Can Play Radio / Music / YouTube Live In Channel & Group 24x7 Nonstop. Made with ❤️ By @mwcinema 😉!" HELP_TEXT = """ 🎧 Need Help ? (Join @SafoTheBot For Support) 🏷️ Common Commands : \u2022 /play - reply to an audio or youTube link to play it or use /play [song name] \u2022 /help - shows help for commands \u2022 /playlist - shows the current playlist \u2022 /current - shows playing time of current track \u2022 /song [song name] - download the song as audio track 🏷️ Admin Commands : \u2022 /skip [n] - skip current or n where n >= 2 \u2022 /join - join the voice chat \u2022 /leave - leave the voice chat \u2022 /stop - stop playing music \u2022 /radio - start radio stream \u2022 /stopradio - stop radio stream \u2022 /volume - change volume (0-200) \u2022 /replay - play from the beginning \u2022 /clean - remove unused RAW PCM files \u2022 /pause - pause playing music \u2022 /resume - resume playing music \u2022 /mute - mute the vc userbot \u2022 /unmute - unmute the vc userbot \u2022 /restart - restart the bot © Powered By : @mwcinema2 | @mwcinema 👑 """

    @Client.on_message(filters.command(["start", f"start@{USERNAME}"])) async def start(client, message): buttons = [ [ InlineKeyboardButton("CHANNEL", url="https://t.me/AsmSafone"), InlineKeyboardButton("SUPPORT", url="https://t.me/SafoTheBot"), ], [ InlineKeyboardButton("MORE BOTS", url="https://t.me/mwcinema"), InlineKeyboardButton("SOURCE CODE", url="https://github.com/AsmSafone/RadioPlayer/tree/V3.0"), ], [ InlineKeyboardButton("❔ HOW TO USE ❔", callback_data="help"), ] ] reply_markup = InlineKeyboardMarkup(buttons) m=await message.reply_photo(photo="https://telegra.ph/file/4e839766d45935998e9c6.jpg", caption=HOME_TEXT.format(message.from_user.first_name, message.from_user.id), reply_markup=reply_markup) await mp.delete(m) await mp.delete(message)

    @Client.on_message(filters.command(["help", f"help@{USERNAME}"])) async def show_help(client, message): buttons = [ [ InlineKeyboardButton("CHANNEL", url="https://t.me/AsmSafone"), InlineKeyboardButton("SUPPORT", url="https://t.me/SafoTheBot"), ], [ InlineKeyboardButton("MORE BOTS", url="https://t.me/mwcinema"), InlineKeyboardButton("SOURCE CODE", url="https://github.com/AsmSafone/RadioPlayer/tree/V3.0"), ], [ InlineKeyboardButton("CLOSE 🔐", callback_data="close"), ] ] reply_markup = InlineKeyboardMarkup(buttons) if msg.get('help') is not None: await msg['help'].delete() msg['help'] = await message.reply_photo(photo="https://telegra.ph/file/23829fa8fac5c98321e93.jpg", caption=HELP_TEXT, reply_markup=reply_markup) await mp.delete(message) @Client.on_message(filters.command(["restart", f"restart@{USERNAME}"]) & filters.user(Config.ADMINS) & (filters.chat(CHAT) | filters.private)) async def restart(client, message): await message.reply_text("🔄 Restarting... Join @mwcinema!") await mp.delete(message) process = FFMPEG_PROCESSES.get(CHAT) if process: try: process.send_signal(SIGINT) except subprocess.TimeoutExpired: process.kill() except Exception as e: print(e) pass FFMPEG_PROCESSES[CHAT] = "" os.execl(sys.executable, sys.executable, *sys.argv)

    opened by Jdsoul 1
Owner
SAF ONE
Meh Stupid Gamer BloGGeR YouTuber Geeky Py Coder An Quick LeARneR An Proud BanglaDeshi ❤️
SAF ONE
An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. This is Also The Source Code of The Bot Which is Being Used In @SafoTheBot Group! ❤️

Telegram Video Player Bot (Beta) An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. Special Features Supports Live Streaming From

SAF ONE 206 Jan 3, 2023
This Is Advanced Version Of Old Radio Player, An Telegram Bot to Play Radio/Music in Channel or Group Voice Chats.

Telegram Radio Player V2 An Telegram Bot to Play Radio/Music in Channel or Group Voice Chats. This is also the source code of the bot which is being u

SAF ONE 81 Dec 3, 2022
A Telegram Userbot to play or streaming Audio and Video songs / files in Telegram Voice Chats.

Vcmusic-Userbot A Telegram Userbot to play or streaming Audio and Video songs / files in Telegram Voice Chats. It's made with PyTgCalls and Pyrogram R

null 3 Oct 23, 2021
A Telegram Userbot to play Audio and Video songs / files in Telegram Voice Chats.

VC UserBot A Telegram Userbot to play Audio and Video songs / files in Telegram Voice Chats. It's made with PyTgCalls and Pyrogram Requirements Python

조던 1 Nov 29, 2021
A Telegram Userbot to play Audio and Video songs / files in Telegram Voice Chats

TG-MusicPlayer A Telegram Userbot to play Audio and Video songs / files in Telegram Voice Chats. It's made with PyTgCalls and Pyrogram Requirements Py

null 4 Jul 30, 2022
A Telegram Bot to Play Audio in Voice Chats With Youtube and Deezer support. Supports Live streaming from youtube Supports Mega Radio Fm Streamings

Bot To Stream Musics on PyTGcalls with Channel Support. A Telegram Bot to Play Audio in Voice Chats With Supports Live streaming from youtube and Mega

Shamil Habeeb 37 Dec 15, 2022
Telegram Radio - A User-bot who continuously play random audio files (from the famous telegram music channel @mveargasm) in the intended voice chat.

MvEargasmDJ: This is my submission for the Telegram Radio Project of Baivaru. Which required a userbot to continiously play random audio files from th

eyaadh 24 Nov 12, 2022
🎵 RythmReloaded 🎵 A bot that can play music on Telegram Group and Channel Voice Chats

?? RythmReloaded ?? A bot that can play music on Telegram Group and Channel Voice Chats POWERED BY MARSHALX TGCALLS Available on telegram as @OptimusP

null 0 Nov 3, 2021
TgMusicBot is a telegram userbot for playing songs in telegram voice calls based on Pyrogram and PyTgCalls.

TgMusicBot [Stable] TgMusicBot is a telegram userbot for playing songs in telegram voice calls based on Pyrogram and PyTgCalls. Commands !start / !hel

Kürşad 21 Dec 25, 2022
Userbot Telegram + Music Voice Chats. Dibuat Untuk Bersenang - Senang , Dan Mempermudah Kegiatan. Created By Rio.

RIO - USERBOT Disclaimer Saya tidak bertanggung jawab atas penyalahgunaan bot ini. Bot ini dimaksudkan untuk bersenang-senang sekaligus membantu Anda

RioProjectX 1 Nov 10, 2021