خرید بک لینک

Vote count: 0

I'm using MS Bot Framework. I want to sen custom keyboard to user, so i try to reply message with this JSON:

                replyMessage.ChaelData = @"
{
    ""method"": ""sendMessage"",
    ""parameters"":
    {
        ""reply_markup"":
        {
            ""keyboard"":[[""1"",""2""],[""3""],[""4"",""5"",""6""]],""one_time_keyboard"":true
        }
    }
}

";

But nothing happens. For example, this message with sticker works fine:

                replyMessage.ChaelData = @"
{
    ""method"": ""sendSticker"",
    ""parameters"":
    {
        ""sticker"":
        {
            ""url"": ""https://upload.wikimedia.org/wikipedia/commons/3/33/LittleCarron.gif"",
            ""mediaType"": ""image/gif""
        }
    }
}

";

I think that the problem is in "keyboard" part, somewhere in array.

asked 54 secs ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 1 تير 1395 ساعت: 12:28

صفحه بندی