Lightweight Telegram webhook bot written in PHP.
Require this project with composer.
{
...
"repositories": [
{
"type": "vcs",
"url": "https://github.com/verizxn/VZTelegramBot"
}
],
"require": {
"verizxn/vztelegrambot": "dev-main"
}
}
Then run in your terminal: composer update
.
Check tests/webhook.php
for the webhook example code.
Check tests/cli.php
for the command line example code.
Check Telegram documentation here.