Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.56 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.56 KB

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 python3-pip 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]