setReplyMessages()
Note:
- This API is supported from version 8.1.0-beta01.
- Use this API in your onCreate() method of your Application before ZohoSalesIQ.initialize() API to work reliably.
The setReplyMessages() API allows you to define a list of predefined reply messages for declining an incoming call.
Parameters:
- messages (List<String>): A list of reply messages to be used when rejecting a call.
Syntax
Copiedvoid setReplyMessages(@NonNull List<String> messages);
Example
CopiedArrayList<String> predefinedReplyMessages = new ArrayList<>();
predefinedReplyMessages.add("I'm a bit busy right now, will call back soon");
predefinedReplyMessages.add("I'll callback in 5 minutes");
predefinedReplyMessages.add("I'm driving right now, talk to you later");
predefinedReplyMessages.add("I'm in a meeting, we'll talk later");
predefinedReplyMessages.add("I'll call you later");
ZohoSalesIQCalls.setReplyMessages(predefinedReplyMessages);
CopiedZohoSalesIQCalls.setReplyMessages(
listOf(
"I'm a bit busy right now, will call back soon",
"I'll callback in 5 minutes",
"I'm driving right now, talk to you later",
"I'm in a meeting, we'll talk later",
"I'll call you later"
)
)