Add a Chat Option
The Chat Options dialog is displayed when the user clicks the options button in the
ChatActivity
.You can add new options like this:
ChatOption option = new ChatOptionBuilder().title("New Option!").action((activity, thread) -> {
// When the option is pressed, you can perform an action
return null;
}).build();
ChatSDK.ui().addChatOption(option);
Last modified 2yr ago