Skip to content

[UNMAINTAINED] Stream audio in Telegram calls using GramJS and tgcallsjs

License

Notifications You must be signed in to change notification settings

callsmusic/callsmusic2

Repository files navigation

Notice

This project is unmaintained. If you’re looking for an alternative, see Remix.

Calls Music 2 — Stream audio in Telegram calls using GramJS and tgcallsjs

Requirements

This bot needs a Linux system, Node JS version 15 or newer with the packages specified in the package.json, ffmpeg, Google Chrome or Chromium to work.

Deployment

Config

  1. Copy example.env to .env and fill it with your credentials.
  2. Install the required Node JS packages:
    npm install
  3. Run:
    npm start

Docker

  1. Build:
    docker build -t musicplayer .
  2. Run:
    docker run --env-file .env musicplayer

Heroku

Deploy to Heroku

  • You can generate a string session here.

Commands

Command Usage
/play play the replied audio file
/pause pause the audio stream
/resume resume the audio stream
/skip skip the current audio stream
/stop clear the queue and remove the userbot from the call

License

GNU Affero General Public License v3.0

Read more

Credits