Many members of our community are building bots and libraries and publishing their source code. We collect these examples here. Ping us on BotSupport if you've built a bot and would like to share its code with others.
Представьте, сколько таких if-else у вас будет.
Довольно спорное утверждение.
new KeyboardButton[]
{
new KeyboardButton("1-1"),
new KeyboardButton("1-2")
},
if (message.Text == "/start")
await client.SendTextMessageAsync(message.From.Id, GetMenu());