-
Notifications
You must be signed in to change notification settings - Fork 299
Description
I'm trying to display a table in the web chat channel. I understand that Web Chat uses markdown for rendering text. But in the link suggests that we can pass textFormat to the activity to display a simple HTML table.
I tried passing the textFormat as 'xml' and a html table in the message content, but the web chat shows just the html content not the formatted table and I see the below in my log after the message is posted.
msrest.service_client:Accept header absent and forced to application/json
And I googled a bit and found that ms-rest for python==0.5.4 library has upgrades to support xml formatting and botbuilder-schema==4.0.0a6 currently uses msrest==0.4.29.
So is this the issue which is not rendering the html table properly. If not, what can be done so that I could send a clean table format to the bot in web chat. I tried sending markdown formatted tables using tabulate but it does not look good. Also tried using adaptive card, but with the amount of data I want to show, the adaptive cards does not seem to be a nice choice