ChatThreadEventHandlerActions
Provides in-one-place interactions to trigger all available events.
See also
Functions
Link copied to clipboard
public final static Unit
public final static Unit
Archive the thread.
Link copied to clipboard
public final static Unit loadMetadata(ChatThreadEventHandler $self, ChatThreadEventHandler.OnEventSentListener listener, ChatThreadEventHandler.OnEventErrorListener errorListener)
public final static Unit loadMetadata(ChatThreadEventHandler $self, ChatThreadEventHandler.OnEventSentListener listener)
Request additonal thread metadata.
Link copied to clipboard
public final static Unit markThreadRead(ChatThreadEventHandler $self, ChatThreadEventHandler.OnEventSentListener listener, ChatThreadEventHandler.OnEventErrorListener errorListener)
public final static Unit markThreadRead(ChatThreadEventHandler $self, ChatThreadEventHandler.OnEventSentListener listener)
Mark the thread as read.
Link copied to clipboard
public final static Unit typingEnd(ChatThreadEventHandler $self, ChatThreadEventHandler.OnEventSentListener listener, ChatThreadEventHandler.OnEventErrorListener errorListener)
public final static Unit typingEnd(ChatThreadEventHandler $self, ChatThreadEventHandler.OnEventSentListener listener)
Notify the server that the user has stopped typing.
Link copied to clipboard
public final static Unit typingStart(ChatThreadEventHandler $self, ChatThreadEventHandler.OnEventSentListener listener, ChatThreadEventHandler.OnEventErrorListener errorListener)
public final static Unit typingStart(ChatThreadEventHandler $self, ChatThreadEventHandler.OnEventSentListener listener)
Notify the agent that the user has started typing.