https://github.com/pytgcalls/pytgcalls
Async client API for the Telegram Calls
https://github.com/pytgcalls/pytgcalls
asynchronous calls ci-badge ffmpeg group-chat lib library nadymov pyrogram pytgcalls python stream telegram telethon tgcalls video-calls video-chat voice-chat voip webrtc
Last synced: about 1 year ago
JSON representation
Async client API for the Telegram Calls
- Host: GitHub
- URL: https://github.com/pytgcalls/pytgcalls
- Owner: pytgcalls
- License: lgpl-3.0
- Created: 2021-02-22T23:43:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-05-09T22:45:49.000Z (about 1 year ago)
- Last Synced: 2025-05-09T23:05:50.407Z (about 1 year ago)
- Topics: asynchronous, calls, ci-badge, ffmpeg, group-chat, lib, library, nadymov, pyrogram, pytgcalls, python, stream, telegram, telethon, tgcalls, video-calls, video-chat, voice-chat, voip, webrtc
- Language: Python
- Homepage: http://pytgcalls.github.io/
- Size: 80.7 MB
- Stars: 337
- Watchers: 7
- Forks: 182
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
A simple and elegant client that allows you to make group voice calls quickly and easily.
Examples
•
Documentation
•
PyPi
•
Channel
•
Chat
# PyTgCalls [](https://pypi.org/project/py-tgcalls/) [](https://pepy.tech/project/py-tgcalls)
This project allows making Telegram call using MtProto and WebRTC, this is possible thanks to the power of [NTgCalls] library and [@evgeny-nadymov]
#### Example Usage
```python
from pytgcalls import PyTgCalls
from pytgcalls import idle
...
chat_id = -1001185324811
app = PyTgCalls(client)
app.start()
app.play(
chat_id,
'http://docs.evostream.com/sample_content/assets/sintel1m720p.mp4',
)
idle()
```
## Features
- Prebuilt wheels for macOS, Linux and Windows.
- Supporting all type of MTProto libraries: Pyrogram, Telethon and Hydrogram.
- Work with voice chats in channels and chats.
- Join as channels or chats.
- Mute/unmute, pause/resume, stop/play, volume control and more...
## Requirements
- Python 3.9 or higher.
- An MTProto Client
- A [Telegram API key](https://docs.pyrogram.org/intro/setup#api-keys).
## How to install?
Here's how to install the PyTgCalls lib, the commands are given below:
``` bash
# With Git
pip install git+https://github.com/pytgcalls/pytgcalls -U
# With PyPi (Recommended)
pip install py-tgcalls -U
```
## Key Contributors
* @Laky-64 (DevOps Engineer, Software Architect):
* Played a crucial role in developing PyTgCalls being an ex developer of pyservercall and of tgcallsjs.
* Automation with GitHub Actions
* @kuogi (Senior UI/UX designer, Documenter):
* As a Senior UI/UX Designer, Kuogi has significantly improved the user interface of our documentation,
making it more visually appealing and user-friendly.
* Played a key role in writing and structuring our documentation, ensuring that it is clear,
informative, and accessible to all users.
* @vrumger (Senior Node.js Developer, Software Architect):
* Has made important fixes and enhancements to the WebRTC component of the library,
improving its stability and performance.
* Main developer of TgCallsJS
* @alemidev (Senior Python Developer):
* Has made important fixes and enhancements to the async part of the library
## Junior Developers
* @TuriOG (Junior Python Developer):
* Currently working on integrating NTgCalls into PyTgCalls, an important step
in expanding the functionality and usability of the library.
## Special Thanks
* @evgeny-nadymov:
A heartfelt thank you to Evgeny Nadymov for graciously allowing us to use their code from telegram-react.
His contribution has been pivotal to the success of this project.
[NTgCalls]: https://github.com/pytgcalls/ntgcalls
[@evgeny-nadymov]: https://github.com/evgeny-nadymov/