Skip to content

Question: How to use NonRawMessage methods? #54

@antepetkovic0

Description

@antepetkovic0

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 constructor

Thanks in advance,
Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions