mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-22 06:45:37 +01:00
Add a description to examples/dialogue_bot
This commit is contained in:
parent
42e2f3fb42
commit
34d44e5195
1 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,19 @@
|
||||||
|
// This is a bot that asks your full name, your age, your favourite kind of
|
||||||
|
// music and sends all the gathered information back.
|
||||||
|
//
|
||||||
|
// # Example
|
||||||
|
// ```
|
||||||
|
// - Let's start! First, what's your full name?
|
||||||
|
// - Luke Skywalker
|
||||||
|
// - WHat a wonderful name! Your age?
|
||||||
|
// - 26
|
||||||
|
// - Good. Now choose your favourite music
|
||||||
|
// *A keyboard of music kinds is displayed*
|
||||||
|
// *You select Metal*
|
||||||
|
// - Metal
|
||||||
|
// - Fine. Your full name: Luke Skywalker, your age: 26, your favourite music: Metal
|
||||||
|
// ```
|
||||||
|
|
||||||
#![allow(clippy::trivial_regex)]
|
#![allow(clippy::trivial_regex)]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|
Loading…
Add table
Reference in a new issue