Nota
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
Manages callbacks that are connected to chat messages being sent.
Methods
subscribe
subscribe(callback: (arg0: ChatSendAfterEvent) => void): (arg0: ChatSendAfterEvent) => void
Adds a callback that will be called when new chat messages are sent.
Parameters
- callback: (arg0: ChatSendAfterEvent) => void
Returns (arg0: ChatSendAfterEvent) => void
Notes:
- This function can't be called in read-only mode.
- This function can be called in early-execution mode.
unsubscribe
unsubscribe(callback: (arg0: ChatSendAfterEvent) => void): void
Removes a callback from being called when new chat messages are sent.
Parameters
- callback: (arg0: ChatSendAfterEvent) => void
Notes:
- This function can't be called in read-only mode.
- This function can be called in early-execution mode.