-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I generated messages on rasa side and send response.
my messages like below:
[{'recipient_id': 'w92wyKyLJstPGB3v9', 'text': 'rasa text replaced', 'test': 'rasa message new item test', 'alias': 'xxxxxxxxxxxxxxxxxx', 'attachments': [{'audio_url': 'http://www.w3schools.com/tags/horse.mp3', 'author_icon': 'https://avatars.githubusercontent.com/u/850391?v=3', 'author_link': 'https://rocket.chat/', 'author_name': 'Bradley Hilton', 'collapsed': 'false', 'color': '#ff0000', 'fields': [{'short': 'true', 'title': 'Test', 'value': 'Testing out something or other'}, {'short': 'true', 'title': 'Another Test', 'value': '[Link](https://google.com/) something and this and that.'}], 'image_url': 'http://res.guggy.com/logo_128.png', 'message_link': 'https://google.com', 'text': 'Yay for gruggy!', 'thumb_url': 'http://res.guggy.com/logo_128.png', 'title': 'Attachment Example', 'title_link': 'https://youtube.com', 'title_link_download': 'true', 'ts': '2016-12-09T16:53:06.761Z', 'video_url': 'http://www.w3schools.com/tags/movie.mp4'}]}]
but on rocket.chat side only receive text filed. 'attachments' field was abandoned!