1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

///This object represents a bot command.
///API Reference: [link](https://core.telegram.org/bots/api/#botcommand)
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct BotCommand {
    ///Text of the command; 1-32 characters. Can contain only lowercase English letters, digits and underscores.
    pub command: String,

    ///Description of the command; 1-256 characters.
    pub description: String,
}
// Divider: all content below this line will be preserved after code regen