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 Imteyaz Channel.
- 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.
API_ID
: Get From my.telegram.orgAPI_HASH
: Get from my.telegram.orgSESSION
: Generate from @genStr robot.CHAT_NAME
: Username of Channel/Group where the bot plays Radio.ADMIN
: ID of user who can who can control the userbot.
- 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.
$ git clone https://github.com/Imteyazking01/Radio-Player-Live-Streaming
$ cd RadioPlayer
$ sudo apt-get install python3-pip ffmpeg
$ pip3 install -U pip
$ pip3 install -U -r requirements.txt
Edit config.py with your own values.
$ python3 main.py
- Imteyaz [Dev]
- MarshalX [For tgcalls]