teloxide/examples
Hirrolot 16cfdfd2e6 Merge pull request #665 from teloxide/update-shared-state-example
Use the new DI in `examples/shared_state.rs`

Former-commit-id: 3b0e3f3a0c
2022-06-29 22:38:15 +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 Merge pull request #613 from teloxide/dptree-case 2022-04-27 16:05:15 +06:00
dialogue.rs Merge pull request #613 from teloxide/dptree-case 2022-04-27 16:05:15 +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 Deprecate teloxide::handler! in favour of dptree::case! 2022-04-27 15:16:34 +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.