translateMessage method

Future<Message> translateMessage({
  1. required Message msg,
  2. required List<String> languages,
})

Implementation

Future<Message> translateMessage({
  required Message msg,
  required List<String> languages,
}) {
  return checkResult(ChatSDKEvent.translateMessage, () {
    return Client.getInstance.chatManager.translateMessage(
      msg: msg,
      languages: languages,
    );
  });
}