An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. This is Also The Source Code of The Bot Which is Being Used In Our Support Group! ❤️
AGPL-3.0 License
An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat.
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
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 or
ASSISTANT_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.$ 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
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/>