TheAwiteb 2023-03-02 15:57:10 +03:00
parent e95c69419b
commit 9a2e39ea01
No known key found for this signature in database
GPG key ID: ABF818BD15DC2D34

View file

@ -90,7 +90,7 @@ pub use teloxide_macros::BotCommands;
/// 2. `#[command(prefix = "prefix")]` /// 2. `#[command(prefix = "prefix")]`
/// Change a prefix for all commands (the default is `/`). /// Change a prefix for all commands (the default is `/`).
/// ///
/// 3. `#[command(description = "description")]` /// 3. `#[command(description = "description")]` and `/// description`
/// Add a summary description of commands before all commands. /// Add a summary description of commands before all commands.
/// ///
/// 4. `#[command(parse_with = "parser")]` /// 4. `#[command(parse_with = "parser")]`
@ -167,7 +167,7 @@ pub use teloxide_macros::BotCommands;
/// Rename one command to `name` (literal renaming; do not confuse with /// Rename one command to `name` (literal renaming; do not confuse with
/// `rename_rule`). /// `rename_rule`).
/// ///
/// 3. `#[command(description = "description")]` /// 3. `#[command(description = "description")]` and `/// description`
/// Give your command a description. It will be shown in the help message. /// Give your command a description. It will be shown in the help message.
/// ///
/// 4. `#[command(parse_with = "parser")]` /// 4. `#[command(parse_with = "parser")]`