tele-macros 0.1.19

Proc-macros for tele bot ergonomics
Documentation
1
2
3
4
5
6
7
8
9
10
11
use tele_macros::BotCommands as DeriveBotCommands;

#[derive(DeriveBotCommands)]
enum DuplicateCommandName {
    #[command(rename = "start", description = "start bot")]
    Start,
    #[command(rename = "start", description = "also start")]
    AnotherStart,
}

fn main() {}