teloxide/examples/heroku_ping_pong_bot
Waffle c378d6ef4e Make StatefulListener::new a little more convinient
Remove `timeout_hint` from the `StatefulListener::new` function. This parameter
is confusing and is likely to be set to `None` in most cases.

Add a `StatefulListener::new_with_timeout_hint` parameter which is the same as
the old `StatefulListener::new`.
2021-06-25 17:24:31 +03:00
..
src Make StatefulListener::new a little more convinient 2021-06-25 17:24:31 +03:00
Cargo.toml Get ready for v0.4.0 (#347) 2021-03-21 18:34:23 +06:00
Procfile Added heroku_ping_pong_bot example 2020-04-16 23:31:02 -03:00
README.md Added heroku_ping_pong_bot example 2020-04-16 23:31:02 -03:00

Heroku example

This is an example project on how to deploy webhook_ping_pong_bot to heroku.

You will need to configure the buildpack for heroku. We will be using Heroku rust buildpack. Configuration was done by using heroku CLI.

If you're creating a new Heroku application, run this command inside example

heroku create --buildpack emk/rust

To set buildpack for existing applicaton:

heroku buildpacks:set emk/rust