Video Stream Bot

A Video Streaming Telegram Bot written in Python using Pyrogram and PyTgcalls

made-with-python
LICENSE Contributors Repository Size
Forks Stars Watchers Commit Activity

Requirements

  • Python 3.9
  • Telegram API
  • Telegram Bot Token
  • Pyrogram String Session

Deployment Methods and Sessions.

Railway

Heroku

Generate String Session

Deploy Locally or Server ( NO SUPPORT FOR WINDOWS, Dont ask me if you use Windows )

[email protected] $ git clone https://github.com/VegetaxD/VideoStreamBot
[email protected] $ cd VideoStreamBot
[email protected] $ pip3 install -U -r requirements.txt
[email protected] $ cp sample.env .env
#Fill .env with your values
[email protected] $ python3 -m VideoxD

Config Vars

  1. API_ID : Assistant Account Telegram API_ID, get it from my.telegram.org
  2. API_HASH : Assistant Account Telegram API_HASH, get it from my.telegram.org
  3. BOT_TOKEN : Your Telegram Bot Token, get it from @Botfather (Make sure Inline is turned On)
  4. SESSION_STRING : Pyrogram Session String of Assistant Account.
  5. VIDEO_CHAT_ID : Chat ID where you want bot to stream. (Single Chat Only)

Commands

/vplay - To Stream a Video in Group ( Youtube Search/ Youtube Link )

/vstop - To Stop a Video Stream

/vpause - To Pause a Video Stream

/vresume - To Resume Video Stream

/vskip - To Skip The Current Playing Video

/repo - To Get The Repo

/help , /start - To Get Welcome Menu and Commands (works in private)

/alive - To Check If The Bot Is Alive

Note

  • This is a Dev branch, So you might experience bugs!
  • I will try to update it regularly!
  • No support Group/Channel for now.

Contact

Credits

License

MIT License
VideoStreamBot, Telegram Video Calls Bot
Copyright (c) 2021 Aarav Arora

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

GitHub

GitHub - VegetaxD/VideoStreamBot: A Video Streaming Telegram Bot with queues written in Python with Pyrogram and PyTgcalls
A Video Streaming Telegram Bot with queues written in Python with Pyrogram and PyTgcalls - GitHub - VegetaxD/VideoStreamBot: A Video Streaming Telegram Bot with queues written in Python with Pyrogr...