mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Update #[command(description = "description")]
docs
This commit is contained in:
parent
72f8f40f59
commit
e0654f7c0d
1 changed files with 2 additions and 0 deletions
|
@ -169,6 +169,8 @@ pub use teloxide_macros::BotCommands;
|
|||
///
|
||||
/// 3. `#[command(description = "description")]` and `/// description`
|
||||
/// Give your command a description. It will be shown in the help message.
|
||||
/// You can also write doc comment above the command, and it will be used as a
|
||||
/// description as well.
|
||||
///
|
||||
/// 4. `#[command(parse_with = "parser")]`
|
||||
/// Parse arguments of one command with a given parser. `parser` must be a
|
||||
|
|
Loading…
Reference in a new issue