Class: ChatSendAfterEventSignal
Manages callbacks that are connected to chat messages being sent.
Constructors
new ChatSendAfterEventSignal()
private
new ChatSendAfterEventSignal():ChatSendAfterEventSignal
Returns
Methods
subscribe()
subscribe(
callback
): (arg
) =>void
Parameters
Parameter | Type |
---|---|
callback | (arg ) => void |
Returns
Function
Parameters
Parameter | Type |
---|---|
arg | ChatSendAfterEvent |
Returns
void
Remarks
Adds a callback that will be called when new chat messages are sent.
This function can't be called in read-only mode.