Skip to content

An Telegram Bot By @SLBotsOfficial To Stream Videos in Telegram Voice Chat.

License

Notifications You must be signed in to change notification settings

SL-bots/VideoPlayerBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Video Player Bot (Beta)

GitHub Repo stars GitHub forks GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests GitHub contributors GitHub repo size GitHub commit activity GitHub Bot Updates Bot Support

An Telegram Bot By @SLBotsOfficial To Stream Videos in Telegram Voice Chat.

Deploy To Heroku

Deploy To Railway

Config Vars:

  1. API_ID : User Account Telegram API_ID, get it from my.telegram.org
  2. API_HASH : User Account Telegram API_HASH, get it from my.telegram.org
  3. BOT_TOKEN : Your Telegram Bot Token, get it from @Botfather
  4. BOT_USERNAME : Your Telegram Bot Username, get it from @Botfather
  5. SESSION_STRING : Pyrogram Session String of User Account, get it from Generate String Session
  6. CHAT_ID : ID of Channel/Group where the bot will works or stream videos.
  7. AUTH_USERS : ID of Users who can use Admins commands (for multiple users seperated by space).
  8. 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 & a Telegram Account (Needs To Be An Admin In The Channel or Group).
  • Latest FFmpeg Python
  • Must Start An Voice Chat In Channel/Group Before Running The Bot.

Self Host

$ git clone https://github.com/TR-TECH-GUIDE/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

License

VideoPlayerBot, Telegram Video Chat Bot
Copyright (c) 2021  TRTECHGUIDE <https://github.com/TR-TECH-GUIDE>

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/>

Credits

About

An Telegram Bot By @SLBotsOfficial To Stream Videos in Telegram Voice Chat.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published