خرید بک لینک

Vote count: 0

        var coector = new CoectorClient();
        List<ChaelAccount> participants = new List<ChaelAccount>();
        var tBot = new ChaelAccount
        {
            ChaelId = "telegram", Address = "9digit", IsBot = true, Id = "salodkid_bot", Name = "salodkid_bot"
        };
        participants.Add(tBot);
        var tUser = new ChaelAccount
        {
            ChaelId = "telegram", Address = "9digit", IsBot = false, Id = "dsalodki", Name = "dsalodki"
        };
        participants.Add(tUser);
        Message message = new Message
        {
            From = tBot,
            To = tUser,
            Participants = participants.ToArray(),
            Text = "Hey, what's up everyone?",
            Language = "en"
        };

var obj = coector.Messages.SendMessage(message);

Unhandled Exception: Microsoft.Rest.HttpOperationException: The bot ... does not match From:... To:...

what`s wrong?

asked 2 mins ago

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

صفحه بندی