GitHub - AsmSafone/VideoPlayerBot: An Telegram Bot By @AsmSafone To Stream Video...
source link: https://github.com/AsmSafone/VideoPlayerBot
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Telegram Video Player Bot
An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat.
Main Features
- Supports Live Streaming.
- Supports YouTube Streaming.
- Supports Live Radio Streaming.
- Supports Video Files Streaming.
- Supports YouTube Live Streaming.
- User Account Protection (PM Guard)
Deploy Own Bot
Railway (Recommended)
Heroku (Don't Complain)
Commands (Set In Botfather)
start - Start The Bot help - Show Help Message play - Start Audio Streaming stream - Start Video Streaming pause - Pause The Current Stream resume - Resume The Paused Stream endstream - Stop Streaming & Left VC
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 XDSESSION_STRING
: Pyrogram Session String of User Account, get it from @genStr robot orASSISTANT_NAME
: Your Video Player's assistant username without @.SUPPORT_GROUP
: Support Group username without @ [Leave this if you don't have one]UPDATES_CHANNEL
: Updates Channel username without @ [Leave this if you don't have one]SUDO_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.
- Latest FFmpeg Python.
- Telegram API key.
- Pyrogram String Session Of The Account.
- The User Account Needs To Be An Admin In The Group / Channel.
Self Host
$ git clone -b main https://github.com/AsmSafone/VideoPlayerBot $ 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 Asm Safone <https://github.com/AsmSafone> 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
Recommend
-
231
README.md PHP Telegram Bot Telegram bot as it should be. Examples SetWebhook <?php use
-
49
Last timeI was bulletproofing my SQLite access foundation. Let’s see if it holds in production. Too bad I’m never gonna get that high load that is supposed to break things. Oh well, let’s wait and see. Maybe I get lucky a...
-
60
Last time I taught my bot tospeak human. This time I’m gonna teach it to speak robot. I’m going to add a few bot commands. In Telegram the bots receive text exactly as you send it. By convention though, when the first wo...
-
53
Contact @airtrack_bot Don't have Telegram yet? Try it now! AirTrack
-
13
telegram-bot-framework Telegram bot framework wrapper for Telegram bot development, utilizes Telegraf library. This library provides set of decorators that could be used for a class and its properties and functions fo...
-
56
Slam Tg Mirror Bot Slam Tg Mirror Bot is a multipurpose Telegram Bot writen in Python for mirroring files on the Internet to our beloved Google Drive. Features supported: Click Here For M...
-
7
cf-workers-telegram-bot serverless telegram bot on cf workers The original worker.js is the content of Nikhil John's https://github.com/nikh...
-
8
Set up a Telegram Bot Go to Grafana > Alerting > Notification channels > New channel. Type: Telegram. It will ask you for a Bot API Token and a Chat ID. Open a chat with BotFather on Telegram.
-
4
PHP Wrapper for Telegram Bot API A lightweight object-oriented PHP wrapper for the Telegram Bot API with full support for all the telegram methods and types. See all availab...
-
6
Symfony bundle for Telegram Bot API A symfony bundle for luzrain/telegram-bot-api library. Installation Install composer package $...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK