ICMessageHelper
This helper class supports specific message operations such as publishing typing indicators.
publishTypingIndicator
Facilitates publication of typing start/stop indicator events to the Webex Connect platform.
Syntax: void publishTypingIndicator(ICThread thread, boolean started)
.
Parameters:
Parameter | Type | Description |
---|---|---|
thread | ICThread | The thread on which the event should occur |
started | boolean | Pass true to indicate a typing start event or false for a stop event. |
createPostbackMessage
This method creates an instance of ICMessage when incoming message interactive/quick replies button clicked based on the parameters ICMessageData and ICButton instance .
Syntax: ICMessage createPostbackMessage(ICMessageData messageData, final ICButton button)
Parameters:
Parameter | Type | Description |
---|---|---|
messageData | ICMessageData | ICMessageData instance |
button | ICButton | ICButton instance |
Updated about 1 year ago