Skip to content

Telepushx is a message push service that supports sending messages to multiple users for telegram bot.

Notifications You must be signed in to change notification settings

jixiaod/telepushx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TelePushX

Telepushx is a message push service that supports sending messages to multiple users for telegram bot.

Features

  • Send messages to multiple users at the same time
  • Send messages limit rate control (Telegram API limit 30 messages per second),if send message too fast, will sleep a while
  • Send messages limit time control, if push message not finished, will stop and wait for next time

Usage

Configuration

cp .env.example .env

Run

go run main.go

Build

go build -ldflags "-s -w" -o telepushx 
./telepushx -help
./telepushx --port 3000 --log-dir ./logs 
nohup ./telepushx --port 3000 --log-dir ./logs > /dev/null 2>&1 &

API

Send Message

curl -X POST http://localhost:3000/api/push/1

Send Preview Message

curl -X POST http://localhost:3000/api/preview/1/1234567890

About

Telepushx is a message push service that supports sending messages to multiple users for telegram bot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published