Skip to content

A Video Streaming Telegram Bot with queues written in Python with Pyrogram and PyTgcalls

License

Notifications You must be signed in to change notification settings

Wahyu213/VideoStreamBot

 
 

Repository files navigation

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 )

vegeta@arch $ git clone https://github.com/VegetaxD/VideoStreamBot
vegeta@arch $ cd VideoStreamBot
vegeta@arch $ pip3 install -U -r requirements.txt
vegeta@arch $ cp sample.env .env
#Fill .env with your values
vegeta@arch $ 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 )

/vtelegram - To Stream a Video from Telegram

/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!
  • You can tell bugs and suggest new updates!

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.

About

A Video Streaming Telegram Bot with queues written in Python with Pyrogram and PyTgcalls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.9%
  • Shell 2.5%
  • Dockerfile 1.6%