onTextChanged

public void onTextChanged(Context context, ChannelType conversationType, String targetId, int cursorPos, int offset, String text, EditText editText)

Called when the input field text changes.

Parameters

conversationType

conversation type

targetId

target ID

cursorPos

cursor position at the start of text input

offset

text change amount: positive for additions, negative for deletions

text

text content