You can achieve this by importing source code in your project and adding an option, handling the event click of that option
This are the step you can follow to achieve it.
You can import the source code from this doc link and make sure to fork the GitHub repo and import the source code from forked GitHub repo link.
If any new changes or release comes you can merge the changes from the master of the GitHub repo in the forked
Create a string with name chat_private
in strings.xml file in the module mobicomkitui
folder res dir and set the value for string name chat_private
Example : <string name="chat_private">Private Reply</string>
3.In DetailedConversationAdapter
file find the method onCreateContextMenu
and add this below code in side the for for (int i = 0; i < menuItems.length; i++) {
if (menuItems[i].equals(context.getResources().getString(R.string.chat_private)) && channel == null && message.isTypeOutbox()) {
continue;
}
4.Open MobiComConversationFragment
file and find the method public boolean onContextItemSelected(MenuItem item) {
and add below code
case 8:
Intent intent = new Intent(getActivity(), ConversationActivity.class);
intent.putExtra(ConversationUIService.USER_ID, message.getContactIds());
if (message.getConversationId() != null) {
intent.putExtra(ConversationUIService.CONVERSATION_ID, message.getConversationId());
}
getActivity().startActivity(intent);
break;