I'd really like to keep a `onMessageReceived` and add a `onMessageSending` instead. Both functions could call onMessage if you want, but it will make the code easier to read