Discussions

Ask a Question
Back to All

Sending Markdown-Formatted Messages in Workspaces Chat

Hello, how can I send a customized message with text formatting in MARKDOWN? The message sends correctly, but in the workspaces chat, it appears exactly as it was sent, without any formatting.

{
"channelId": "Messaging",
"channelProviderId": "##############################",
"businessAccountName": "#############################",
"customerIdentifiers": {
"emailAddresses": [
"[email protected]"
],
"phoneNumbers": [
"+91 20 4101 8003"
]
},
"body": {
"elementType": "text",
"elementText": {
"text": "negrita",
"textFormat": "MARKDOWN"
}
},
"senderName": "John Doe",
"providerSenderId": "####################",
"providerDialogId": "#######################",
"providerMessageId": "##########################",
"customData": {
"sentiment": "neutral"
},
"engagementParameters": {
"phoneNumber": #######################"
}
}