Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/546669204/telegram-push-bot

This is a Telegram-Push-Bot
https://github.com/546669204/telegram-push-bot

Last synced: 7 days ago
JSON representation

This is a Telegram-Push-Bot

Awesome Lists containing this project

README

        

# Welcome To This Telegram-Push-Bot

------

## Use Guide

1.add [botfather](https://telegram.me/botfather) on telegram

2.input `/newbot`

3.input you bot name (For example:`VpsStockBot`)

4.this time system will can reply you `token`

5.replace the `token` in bot.php

6.set web hook : access this url (https://api.telegram.org/bot[Token]/setWebhook?url=https://[domain]/bot.php)

7.begin use

-----

send `/start` after adding robot will get sckey
adding a robot to the channel and setting an administrator to send `/start` will get sckey

Send a message
POST http://[domain]/bot.php

method=send&sckey=[XXX]&content=[CONTENT]