sendMessage method

Future<Message> sendMessage({
  1. required Message message,
})

Implementation

Future<Message> sendMessage({required Message message}) {
  // ignore: invalid_use_of_protected_member
  // ChatSDKService.instance.onWillSendMessage(message);
  return checkResult(ChatSDKEvent.sendMessage, () async {
    return Client.getInstance.chatManager.sendMessage(message);
  });
}