Botpress Server Hooks question


With Botpress X we can send messages between modules and the bot with Middleware and bp hear

Now with Botpress Server i was wondering about intermodulair communication can we use

bp.middlewares.sendIncoming in Botpress Server or what other method can we use for module and bot communication.

Thanks in advance