Bold Text in Dialogflow Messenger

671 views
Skip to first unread message

lu4n....@gmail.com

unread,
Oct 9, 2021, 11:42:29 AM10/9/21
to Dialogflow Essentials Edition users
I've been trying to find ways to format a text so that it can be bold in the bot response via Dialogflow Messenger but I haven't been sucessfull yet.

Is it possible to be done via the DialogFlow ES console?Because I've created my bot using it and am not sure how to use the API instead.

Thigs I've already tryied:

In Text Response:
<b>Bold Text</b>, *Bold Text*

In Custom Payload:
{
  "richContent": [
    [
      {
        "parse_mode": "html",
        "text": [
          "This is <b>text</b> line 1.",
          "This is text line 2."
        ],
        "type": "description"
      }
    ]
  ]
}

and the variant with the * instead of the <b>

Thanks a lot!

contast...@gmail.com

unread,
Oct 11, 2021, 2:24:11 PM10/11/21
to Dialogflow Essentials Edition users
Depending on if the text accepts HTML text format, you can use <strong></strong>, or you can create a span, add styles, and then you can use colors or whatever options for HTML rich TEXT.
Reply all
Reply to author
Forward
0 new messages