yet another Telegram Voice Chat Bot By @SpEcHiDe To Stream Audio / Video in Telegram Voice Chat.
- Please read sample_config.env to understand the mandatory and optional variables, used for this bot.
- Python 3.8 or Higher.
- Telegram API key.
- FFMpeg.
- Pyrogram String Session of an user account.
-
Install Python from the official website.
-
Clone this repository.
git clone https://github.com/SpEcHiDe/PlayAStream.git
- Enter into the cloned directory.
cd PlayAStream
-
Install FFMpeg from the official website.
-
Create a virtual environment.
python3 -m venv venv
- Activate the virtual environment.
. ./venv/bin/activate
- Install the requirements.txt.
$ pip3 install --upgrade pip
pip3 install --upgrade --no-cache-dir -r requirements.txt
-
create a
config.env
appropriately, based on the givensample_config.env
file. -
Run the bot using
python -m bot