Skip to content

weirdname404/telegram-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This script was designed to work as a daemon that does following:

  1. Endlessly requests updates from specific Telegram app via long polling;
  2. Sends received updates to the given WEBHOOK url;
  3. Waits for WEBHOOK's response, to send it back to the given Telegram app.

Steps to start the script

  • Add to your .env file values of APP_TOKEN (TG app token) and WEBHOOK (url)
  • docker build -t tg-adapter .
  • docker run --env-file=.env --name tg-adapter -d tg-adapter:latest

About

Telegram app long polling daemon

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published