Telegram Video Player Bot (Beta)
An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat.
Special Features
- Supports Live Streaming From Link
- Supports Direct Streaming From YouTube
- Supports Streaming From Any Video Files
- Customizable Userbot Protection (PM Guard)
Deploy Own Bot
Railway (Reommanded)
Heroku (Don't Complain)
Commands:
start - Start The Bot
help - Show Help Message
stream - Start Streaming
endstream - End Streaming
Config Vars:
API_ID
: User Account Telegram API_ID, get it from my.telegram.orgAPI_HASH
: User Account Telegram API_HASH, get it from my.telegram.orgBOT_TOKEN
: Your Telegram Bot Token, get it from @Botfather XDBOT_USERNAME
: Your Telegram Bot Username, get it from @Botfather XDSESSION_STRING
: Pyrogram Session String of User Account, get it from @genStr robot or
CHAT_ID
: ID of Channel/Group where the bot will works or stream videos.AUTH_USERS
: ID of Users who can use Admins commands (for multiple users seperated by space).REPLY_MESSAGE
: A reply to those who message the USER account in PM. Leave it blank if you do not need this feature.
Requirements
- Python 3.6 or Higher.
- Telegram API key.
- Latest FFmpeg Python.
- Pyrogram String Session of the account.
- The User Account Needs To Be An Admin In The Channel/Group.
Self Host
$ git clone https://github.com/AsmSafone/VideoPlayerBot.git
$ cd VideoPlayerBot
$ sudo apt-get install python3-pip ffmpeg
$ pip3 install -U pip
$ pip3 install -U -r requirements.txt
# <create .env variables appropriately>
$ python3 main.py