You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on some custom webhook integration and plan is to switch from deprecated MessageModel to MessageFactory. Creating inbound messages (that will be sent to DA skill) work as intendend. However, I struggled a bit with outbound messages (received from DA skill). Previously I was extracting on my own all actions, globalActions, header and footer text. Now I saw there are already defined methods for it within NonRawMessage class but I don't know right way to call it.
new NonRawMessage().getGlobalActions(); does not except any argument and not quite sure how should I or should I pass somehow message payload to class constructor
Thanks in advance,
Kind regards
The text was updated successfully, but these errors were encountered:
Hey guys,
I'm currently working on some custom webhook integration and plan is to switch from deprecated MessageModel to MessageFactory. Creating inbound messages (that will be sent to DA skill) work as intendend. However, I struggled a bit with outbound messages (received from DA skill). Previously I was extracting on my own all actions, globalActions, header and footer text. Now I saw there are already defined methods for it within NonRawMessage class but I don't know right way to call it.
new NonRawMessage().getGlobalActions();
does not except any argument and not quite sure how should I or should I pass somehow message payload to class constructorThanks in advance,
Kind regards
The text was updated successfully, but these errors were encountered: