I am trying duplicate the trigger example at (https://v12.botpress.com/messaging-channels/botpress-webchat/website-embedding/#send-custom-content-on-proactive-event) in the "before incoming message" trigger on a project in botpress cloud. When I paste the line
event.setFlag(bp.IO.WellKnownFlags.SKIP_DIALOG_ENGINE, true)
it is unbale to find the setFlag property on the event. I am unable to guess what will be the equivalent on botpress cloud. Any help would be greatly appreciated.