Async client API for the Telegram Calls
A simple and elegant client that allows you to make group voice calls quickly and easily.
Examples
•
Documentation
•
PyPi
•
Channel
•
Chat
This project allows making Telegram group call using MtProto and WebRTC, this is possible thanks to the power of NTgCalls library and @evgeny-nadymov
from pytgcalls import PyTgCalls
from pytgcalls import idle
from pytgcalls.types import MediaStream
...
chat_id = -1001185324811
app = PyTgCalls(client)
app.start()
app.join_group_call(
chat_id,
MediaStream(
'http://docs.evostream.com/sample_content/assets/sintel1m720p.mp4',
)
)
idle()
Here's how to install the PyTgCalls lib, the commands are given below:
# With Git
pip install git+https://github.com/pytgcalls/pytgcalls -U
# With PyPi (Recommended)
pip install py-tgcalls -U