Closed valovm closed 1 year ago
Hi. I added the support of environments to bots. This required for developing Web Applications if you want to run it without ssl. More info here: https://core.telegram.org/bots/webapps#testing-web-apps
I moved your token to ENV variable. You can run test with help this command: BOT_API_TOKEN=<TOKEN> bundle exec rspec spec
BOT_API_TOKEN=<TOKEN> bundle exec rspec spec
Hi. I added the support of environments to bots. This required for developing Web Applications if you want to run it without ssl. More info here: https://core.telegram.org/bots/webapps#testing-web-apps
I moved your token to ENV variable. You can run test with help this command:
BOT_API_TOKEN=<TOKEN> bundle exec rspec spec