Documentation
¶
Overview ¶
Binary groupcall joins a Telegram group voice chat and streams an MP3 file into it as audio.
It logs in via QR code (with 2FA fallback), resolves a supergroup/channel by username, joins its active voice chat and streams the MP3 (transcoded to Opus with ffmpeg) until the file ends.
Usage:
APP_ID=... APP_HASH=... SESSION_FILE=session.json \
go run ./examples/groupcall -chat @mygroup -audio song.mp3
The group must already have a voice chat started. Pass -test to run against Telegram's test servers instead of production. Requirements: ffmpeg on PATH (with libopus).
Click to show internal directories.
Click to hide internal directories.