LovestarBot is a Telegram bot for work with Facebook events. The bot works in conjunction with the vh-lovestars service
- Install the composer libraries.
composer install- Copy .env.example to .env
copy cp .env.example .env- In the .env file set the link to your service API
API_URL=https://example.com/admin/telegram-api/- In the .env file set the ID of your telegram bot
BOT_ID=example:exampleDelete webhook https://api.telegram.org/bot{BOTID}/deleteWebhook
Set webhook https://api.telegram.org/bot{BOTID}/setWebhook?url=https://example/webhook.php
Get updates https://api.telegram.org/bot{BOTID}/getUpdates