Async client API for the Telegram Calls.
Project description
A simple and elegant client that allows you to make group voice calls quickly and easily.
Examples
•
Documentation
•
PyPi
•
Channel
•
Chat
PyTgCalls
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
from pytgcalls import PyTgCalls
from pytgcalls import idle
from pytgcalls.types import MediaStream
...
chat_id = -1001185324811
app = PyTgCalls(client)
app.start()
app.play(
chat_id,
MediaStream(
'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.
How to install?
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
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file py_tgcalls-2.1.0.dev1-py3-none-any.whl
.
File metadata
- Download URL: py_tgcalls-2.1.0.dev1-py3-none-any.whl
- Upload date:
- Size: 71.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e82b62fd7c3567c4144179bd93bbb5a0ed0f19fc5f907a4a76e3240e4cc1cb90 |
|
MD5 | ffadc79ef27b9044d6d001b373508c28 |
|
BLAKE2b-256 | 58a3fec7ec88e4978b294c2a83a8b4225b736ec3b507e29ca36576a1365153b2 |
Provenance
The following attestation bundles were made for py_tgcalls-2.1.0.dev1-py3-none-any.whl
:
Publisher:
build-and-publish-wheels.yml
on pytgcalls/pytgcalls
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
py_tgcalls-2.1.0.dev1-py3-none-any.whl
- Subject digest:
e82b62fd7c3567c4144179bd93bbb5a0ed0f19fc5f907a4a76e3240e4cc1cb90
- Sigstore transparency entry: 148796393
- Sigstore integration time:
- Predicate type: