Change config in config.yaml
- api_key
- change url in image_path
- Change home_text, help_text, tokens and tokens_sites (if necessary).
- Copy to project directory
- Run command: composer install
- Add to cron files: 3.1. cronbot.php 3.2. osmosis_cron.php
- Add webhook to Telegram bot api with url: https://api.telegram.org/botAPI_KEY/setWebhook?url=URL_TO_telegrambot.php With changeing API_KEY to bot api key and URL_TO_ to your path to the file telegrambot.php.
- That is all.
For the config file, the component is used https://symfony.com/doc/current/components/yaml.html