Beta
Beta
Adds a callback that will be called before new chat messages are sent.
This function can't be called in read-only mode.
Beta
Removes a callback from being called before new chat messages are sent.
This function can't be called in read-only mode.
Manages callbacks that are connected to an event that fires before chat messages are sent.
Example: chatSendEvent.ts