teloxide/examples
2022-07-19 19:34:35 +06:00
..
admin.rs Harmonise example bot initial logs 2022-04-27 01:00:08 +06:00
buttons.rs Harmonise example bot initial logs 2022-04-27 01:00:08 +06:00
command.rs examples/simple_commands.rs=> examples/command.rs 2022-04-27 00:54:37 +06:00
db_remember.rs Use #[default] for State::Start in dialogues 2022-07-04 21:47:57 +06:00
dialogue.rs Use #[default] for State::Start in dialogues 2022-07-04 21:47:57 +06:00
dispatching_features.rs Revert "Replace examples/dispatching_features.rs with examples/purchase.rs" 2022-04-27 08:02:18 +06:00
heroku_ping_pong.rs Update the heroku example to use 0.0.0.0 as ip 2022-06-29 15:10:45 +02:00
inline.rs Harmonise example bot initial logs 2022-04-27 01:00:08 +06:00
ngrok_ping_pong.rs Harmonise example bot initial logs 2022-04-27 01:00:08 +06:00
Procfile Fix the docs of the Heroku example 2022-02-05 00:31:13 +06:00
purchase.rs Update the dispatching example explanation 2022-07-19 19:34:35 +06:00
README.md Update examples/README.md 2022-03-21 23:04:18 +06:00
shared_state.rs Use Arc<AtomicU64> in examples/shared_state.rs 2022-06-29 01:49:49 +06:00
throw_dice.rs examples/dices.rs => examples/throw_dice.rs 2022-04-27 00:56:51 +06:00

Usage

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

Don't forget to initialise the TELOXIDE_TOKEN environmental variable.