Skip to content

pechera/telegram-postback-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Postback Bot

Stack: NodeJS, Express.

First, you need to specify the URL generated by the bot in the Postback URL settings in your CPA network with the necessary URL parameters.

For example, for the 7leads network, the link may look like this:

https://postback.top/123456789?id={id}&status={status}&price={price}&price_currency={price_currency}&utm_source={utm_source}&utm_medium={utm_medium}

Where 123456789 is your Telegram ID, which is necessary for the bot to work correctly, and all other parameters are taken from the affiliate network settings.

URL postback works with both GET and POST requests and is suitable for any CPA network. You can specify any number of parameters, and all parameters will be displayed in the message sent by the bot.

Environment Variables

URL Server URL
PORT Server port
TOKEN Telegram Bot API token\

Run Locally

  npm install
  npm run dev

About

Receive new leads directly to your Telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published