Skip to main content
pytgcalls logo

A simple and elegant client that allows you to make group voice calls quickly and easily.
Examples • Documentation • PyPi • Channel • Chat

PyTgCalls PyPI Downloads

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

...
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

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.

Metadata

Release files for stefano-py-tgcalls 3.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stefano-py-tgcalls 3.0.2
File Size Uploaded Provenance Actions
stefano_py_tgcalls-3.0.2.tar.gz 55.1 kB Without provenance Details for stefano_py_tgcalls-3.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stefano-py-tgcalls 3.0.2
File Interpreter ABI Platform Actions
stefano_py_tgcalls-3.0.2-py3-none-any.whl Python 3 none any Details for stefano_py_tgcalls-3.0.2-py3-none-any.whl

Total release size: 141.0 kB

Release files / stefano_py_tgcalls-3.0.2.tar.gz

Download URL stefano_py_tgcalls-3.0.2.tar.gz
Size 55.1 kB
Tags Source
SHA-256 checksum
How to use checksums
87677c7378f8e8fff3a09c12a126d06287059ee1d3e4652c0cd641b68f615745
BLAKE2b-256 checksum
How to use checksums
c58d95b76a889b441814c014da390576ca3f21869aec57a2c94f9e02fef00613
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / stefano_py_tgcalls-3.0.2-py3-none-any.whl

Download URL stefano_py_tgcalls-3.0.2-py3-none-any.whl
Size 85.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd4067e6fae327eb2fdb012dddd33883be0964843de1d43bbb541b9bd90ed1cf
BLAKE2b-256 checksum
How to use checksums
42e2b23e5818145d187bcdc6ab5526e2cce0e9f257f92c22e184a26c925977ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for stefano-py-tgcalls 3.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page