TgCaller
🎯 Modern, Fast, and Reliable Telegram Group Calls Library
Built for developers who need a simple yet powerful solution for Telegram voice and video calls
🎯 Modern, Fast, and Reliable Telegram Group Calls Library
Built for developers who need a simple yet powerful solution for Telegram voice and video calls
TgCaller is a modern library designed with developer experience and reliability in mind:
import asyncio
from pyrogram import Client
from tgcaller import TgCaller
# Initialize
app = Client("my_session", api_id=API_ID, api_hash=API_HASH)
caller = TgCaller(app)
@caller.on_stream_end
async def on_stream_end(client, update):
print(f"Stream ended in {update.chat_id}")
async def main():
await caller.start()
# Join voice call
await caller.join_call(-1001234567890)
# Play audio
await caller.play(-1001234567890, "song.mp3")
if __name__ == "__main__":
asyncio.run(main())
TgCaller comes with powerful command-line tools:
# Test installation
tgcaller test --api-id 12345 --api-hash "your_hash"
# System diagnostics
tgcaller info
# Show examples
tgcaller examples
Made with ❤️ for the Telegram developer community