0

I have already done with the example given for Node.js SDK here but no luck. In Skype client it showing text not the table formatting.

bot.dialog('message_with_table', function (session) {
    var tableHTML = '<table style="padding:10px;border:1px solid black;"><tr style="background-color:#c6c6c6"><th>Countries</th><th>Capitals</th><th>Population</th><th>Language</th></tr><tr><td>USA</td><td>Washington D.C.</td><td>309 million</td><td>English</td></tr><tr><td>Sweden</td><td>Stockholm</td><td>9 million</td><td>Swedish</td></tr></table>';
    var message = {
        type: 'message',
        textFormat: 'xml', 
        text: tableHTML
    };
    session.send(message);
});

I'm not able to understand what is the issue, its working in Bot Framework emulator but not in skype and FB messanger.

I know The TextFormat xml is supported only by the Skype channel but it not working in my case.

Mukesh S
  • 367
  • 5
  • 19

0 Answers0