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:

ParameterTypeDescription
threadICThreadThe thread on which the event should occur
startedbooleanPass 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: 

ParameterTypeDescription
messageDataICMessageDataICMessageData instance
buttonICButtonICButton instance