updateMessagesReceiveCallbackIncludeSendSetting method
Future<void>
updateMessagesReceiveCallbackIncludeSendSetting( - bool includeSend
)
Implementation
Future<void> updateMessagesReceiveCallbackIncludeSendSetting(
bool includeSend) async {
Map req = {'includeSend': includeSend};
Map result = await ClientChannel.invokeMethod(
ChatMethodKeys.updateMessagesReceiveCallbackIncludeSendSetting, req);
try {
EMError.hasErrorFromResult(result);
_options =
_options?.copyWith(messagesReceiveCallbackIncludeSend: includeSend);
} on EMError catch (e) {
throw e;
}
}