teloxide/examples
Hirrolot 0d36a1e2b7
Merge pull request #613 from teloxide/dptree-case
Deprecate `teloxide::handler!` in favour of `dpree::case!`
2022-04-27 16:05: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 Harmonise example bot initial logs 2022-04-27 01:00:08 +06: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 Harmonise example bot initial logs 2022-04-27 01:00:08 +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.