PDA

View Full Version : مشکل با ربات تلگرام



shabgardetanha
سه شنبه 25 مهر 1396, 10:07 صبح
سلام
من میخوام با telegram,bot
باتن ایجاد کنم
اینو نوشتم
اما در اجرا هیچ باتنی بالا نمیاد
var mainmenu = new ReplyKeyboardMarkup();
mainmenu.Keyboard =
new KeyboardButton[][]
{
new KeyboardButton[]
{
new KeyboardButton("a"),
new KeyboardButton("s")
},
new KeyboardButton[]
{
new KeyboardButton("c"),
new KeyboardButton(" v")
}
};

var req = new SendMessage(update.Message.Chat.Id, "Select Button"){ ReplyMarkup = mainmenu };
await bot.MakeRequestAsync(req);
کسی میدونه مشکل چیه؟؟؟