teloxide/examples
2022-03-21 20:06:32 +06:00
..
admin.rs .chat_id() => .chat.id 2022-02-04 19:45:35 +06:00
buttons.rs DispatcherBuilder::new => Dispatcher::builder 2022-02-04 20:09:53 +06:00
db_remember.rs Rewrite examples/db_remember.rs to use ErasedStorage 2022-03-21 20:06:32 +06:00
dialogue.rs Explain handler params in examples/dialogue.rs 2022-02-04 20:21:16 +06:00
dices.rs Fix type aliases in the examples 2022-02-02 06:28:32 +06:00
dispatching2_features.rs Simplify examples/dispatching2_features.rs 2022-02-05 00:53:55 +06:00
heroku_ping_pong.rs Fix the docs of the Heroku example 2022-02-05 00:31:13 +06:00
inline.rs DispatcherBuilder::new => Dispatcher::builder 2022-02-04 20:09:53 +06:00
ngrok_ping_pong.rs Fix merge conflicts 2022-02-03 20:39:32 +06:00
Procfile Fix the docs of the Heroku example 2022-02-05 00:31:13 +06:00
README.md Simplify the example usage guide 2022-03-12 14:36:31 +06:00
shared_state.rs Replace lazy_static with once_cell 2022-02-04 20:14:57 +06:00
simple_commands.rs Make all examples just *.rs files 2022-02-02 03:54:00 +06:00

Usage

$ cargo run --features="full" --example <example-name>

Don't forget to initialise the TELOXIDE_TOKEN environmental variable.