A Native Implementation of Telegram Calls in a seamless way.
Examples
•
Documentation
•
PyPi
•
Releases
•
Channel
•
Chat
Welcome to NativeTgCalls, an innovative open-source project. NativeTgCalls represents the next evolution in Telegram calling, building on the foundation laid by PyTgCalls.
Powerful | Simple | Light |
---|---|---|
![]() Built from scratch in C++ using Boost and libwebrtc |
![]() Simple Python, GO and C Bindings |
![]() We removed anything that could burden the library, including NodeJS |
...and more, without even rewriting your code that uses PyTgCalls!
NativeTgCalls, often referred to as NTgCalls, is an exciting open-source venture. This project redefines the Telegram calling experience and introduces innovative features while preserving the legacy of PyTgCalls.
Architecture | Windows | Linux | MacOS |
---|---|---|---|
x86_64 | |||
ARM64 |
NativeTgCalls is a playground for experimentation. We understand the importance of customization for developers, empowering you to tailor your Telegram calling solutions to your precise requirements.
Building upon the success of PyTgCalls, NativeTgCalls provides a natural progression for developers familiar with its predecessor. This evolution streamlines the development process and extends the capabilities of Telegram calling.
Importantly, PyTgCalls will seamlessly integrate the new core (NTgCalls) to ensure backward compatibility.
NativeTgCalls offers Py Bindings, enabling seamless integration with Python. Follow these steps to compile NativeTgCalls with Python Bindings:
Run the following command to install the Py Bindings:
python3 setup.py install
NativeTgCalls offers Go Bindings, enabling seamless integration with Go. Follow these steps to compile NativeTgCalls with Go Bindings:
./examples/go/
directory, ensure you are in that directoryntgcalls.h
file into ./examples/go/ntgcalls/
directory./examples/go/
directory
ntgcalls.dll
and ntgcalls.lib
files in case of Windows amd64 shared release./examples/go/
directory run go build
or go run .
with CGO_ENABLED=1 env variable set
$env:CGO_ENABLED=1; go run .
for Windows PowerShellCGO_ENABLED=1 go run .
for UNIXFor developers looking to use NativeTgCalls with C and C++, we provide C Bindings. Follow these steps to compile NativeTgCalls with C Bindings:
python3 setup.py build_shared
@shiguredo: We extend our special thanks to 時雨堂 (shiguredo) for their invaluable assistance in integrating the WebRTC component. Their contributions, utilizing the Sora C++ SDK, have been instrumental in enhancing the functionality of our library.
@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.
@morethanwords: We extend our special thanks to morethanwords for their invaluable help in integrating the connection to WebRTC with Telegram Web K. Their assistance has been instrumental in enhancing the functionality of our library.
@MarshalX: for their generous assistance in answering questions and providing insights regarding WebRTC.
@LyzCoote: for providing an ARM64 Server and allowing us to build an image with clang-18 preinstalled on manylinux2014 arm64.
We would like to extend a special thanks to @null-nick and @branchscope for their valuable contributions to the testing phase of the library. Their dedication to testing and optimizing the library has been instrumental in its success.
Additionally, we extend our gratitude to all contributors for their exceptional work in making this project a reality.