Skip to content

joel122002/telegram-outgoing-call-with-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Telegram - Outgoing calls

Python script to make a VoIP telegram call with audio playback.

Installation

On Linux and macOS to install this library you must have make, cmake, C++11 compatible compiler, Python headers, Opus and OpenSSL libraries and headers installed:

Debian-based distributions

apt install make cmake gcc g++ pkg-config python3-dev python3-pip gcc g++ openssl libssl-dev libopus0 libopus-dev

Archlinux-based distributions

pacman -S make cmake gcc python3 openssl opus

macOS

brew install make cmake gcc g++ python3 openssl opus

Windows

Unfortunately pytgvoip has a bug which causes failure while installing pytgvoip. A good workaround is using WSL (Windows Subsystem for Linux). Ubuntu would be the preferable WSL Distro.

Installing the required python packages

# pytgvoip only works on versions < 2
pip3 install Pyrogram==1.4.0
pip3 install pytgvoip
pip3 install pytgvoip-pyrogram

Create a file named config.py in the root directory with the following contents config.py

# Visit https://my.telegram.org./auth to generate your credentials
API_HASH = 'API Hash'
API_ID = 0 # API ID
CLIENT_NAME = 'Rose'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages