They are esentialy the same as instruction $text just changing the json object key of the output
for instance on console:
You: :df2 text('hello')
Testbot: {"text":"hello"}
textMD should return:
Testbot: {"textMD":"hello"}
and textHTML should return:
Testbot: {"textHTML":"hello"}
web: text and textMD should be converted to HTML (note the restful server should send the json as is. this conversion should be done in the frontend of the chatbot widget)
Telegram already accepts MarkDown and HTML so you just update the code to set the argument for it accordingly. Remember to not set this argument when the response isfrom $text instruction were it's just plain text
Also update Testbot demo included in the database seed. Currently it's using $text instruction with markdown syntaxis on it. Change all to $textMD
They are esentialy the same as instruction $text just changing the json object key of the output for instance on console: You: :df2 text('hello') Testbot: {"text":"hello"}
textMD should return: Testbot: {"textMD":"hello"}
and textHTML should return: Testbot: {"textHTML":"hello"}
Update channels:
Also update Testbot demo included in the database seed. Currently it's using $text instruction with markdown syntaxis on it. Change all to $textMD