Showing the answer
An answer is a list of parts. A part is text, HTML or an image.
Text
Text is written as Markdown. Every chat application uses its own dialect, so convert it. Slack and Google Chat need bold and links rewritten. Teams accepts a wider subset.
Images
An image arrives as data, with the type of the image. The image is uploaded with the chat application’s own file API.
HTML
HTML has no equivalent in Slack, Teams or Google Chat. The HTML can be converted to text, or the person told that the answer is available in the GUI. An agent written for a chat audience should produce text and images.

