RocketChat / Rocket.Chat.Apps-engine

The Rocket.Chat Apps engine and definitions.

Home Page:https://rocketchat.github.io/Rocket.Chat.Apps-engine/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modify instance missing in the latest omnichannel event handlers

renatobecker opened this issue · comments

I'm working on a new App which will need to listen to the latest Omnichannel event handlers implemented,
such as executePostLivechatRoomStarted, executePostLivechatRoomClosed, executePostLivechatAgentAssigned and so on.
The fact is that those event handlers don't provide the modify instance as a parameter as the executePostMessageSent does, so I just can move forward since I need, for instance, send messages to Omnichannel rooms and I need the modifier to do it.

Is there a way to add modify to these events quickly? I'm asking because the new App I'm working on is a high-priority demand and our plan is to deliver it ASAP.