TypingEventListener

Listener for ChatClient.keystroke and ChatClient.stopTyping requests.

Inheritors

Functions

Link copied to clipboard
abstract fun onTypingEventPrecondition(eventType: String, channelType: String, channelId: String, extraData: Map<Any, Any>, eventTime: Date): Result<Unit>

Runs this precondition before ChatClient.keystroke and ChatClient.stopTyping request is invoked.

Link copied to clipboard
abstract fun onTypingEventRequest(eventType: String, channelType: String, channelId: String, extraData: Map<Any, Any>, eventTime: Date)

Runs this side effect before ChatClient.keystroke and ChatClient.stopTyping request is invoked.

Link copied to clipboard
abstract fun onTypingEventResult(result: Result<ChatEvent>, eventType: String, channelType: String, channelId: String, extraData: Map<Any, Any>, eventTime: Date)

Runs this side effect after ChatClient.keystroke and ChatClient.stopTyping request is completed.