boshurik/telegram-bot-bundle

Dotenv

TELEGRAM_BOT_TOKEN=bot-token

Generated files

config/packages/boshurik_telegram_bot.yaml

boshurik_telegram_bot:
    api:
        token: "%env(TELEGRAM_BOT_TOKEN)%"

config/routes/boshurik_telegram_bot.yaml

boshurik_telegram_bot_routing:
    resource: "@BoShurikTelegramBotBundle/Resources/config/routing.yml"
    prefix: "/_telegram/%telegram_route_secret%"