teloxide/examples
2022-02-04 20:09:53 +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
dialogue.rs DispatcherBuilder::new => Dispatcher::builder 2022-02-04 20:09:53 +06:00
dices.rs Fix type aliases in the examples 2022-02-02 06:28:32 +06:00
dispatching2_features.rs DispatcherBuilder::new => Dispatcher::builder 2022-02-04 20:09:53 +06:00
heroku_ping_pong.rs Fix merge conflicts 2022-02-03 20:39:32 +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
README.md Update examples/README.md 2022-02-02 03:56:43 +06:00
redis_remember.rs DispatcherBuilder::new => Dispatcher::builder 2022-02-04 20:09:53 +06:00
shared_state.rs DispatcherBuilder::new => Dispatcher::builder 2022-02-04 20:09:53 +06:00
simple_commands.rs Make all examples just *.rs files 2022-02-02 03:54:00 +06:00
sqlite_remember.rs DispatcherBuilder::new => Dispatcher::builder 2022-02-04 20:09:53 +06:00

Usage

$ cargo run --example <example name> --features="<features required by the example>"

Don't forget to initialise the TELOXIDE_TOKEN environmental variable.