https://github.com/zeuxisoo/tools-msgbot
Simple tools for testing tg bot message
https://github.com/zeuxisoo/tools-msgbot
bot php telegram tools web
Last synced: over 1 year ago
JSON representation
Simple tools for testing tg bot message
- Host: GitHub
- URL: https://github.com/zeuxisoo/tools-msgbot
- Owner: zeuxisoo
- Created: 2019-12-31T15:45:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T18:00:37.000Z (about 4 years ago)
- Last Synced: 2025-01-29T11:47:34.561Z (over 1 year ago)
- Topics: bot, php, telegram, tools, web
- Language: Hack
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tools MsgBot
Simple tools for testing tg bot message
## Usage
Download the composer
curl https://getcomposer.org/composer.phar -o composer.phar
Install the vendors
php composer.phar install
Edit the config file
cp config.php.example config.php
vim config.php
## Config
1. Get the token from telegram
2. Set the webhook enable when using in production mode
3. Set the webhook url to your full domain url when webhook is enabled
## Action
1. Enable webhook on bot
api.php?action=set-web-hook
2. Remove webhhok on bot
api.php?action=remove-web-hook