modifyMessage method

Future<Message> modifyMessage({
  1. required String messageId,
  2. required TextMessageBody msgBody,
})

Implementation

Future<Message> modifyMessage({
  required String messageId,
  required TextMessageBody msgBody,
}) {
  return checkResult(ChatSDKEvent.modifyMessage, () {
    return Client.getInstance.chatManager.modifyMessage(
      messageId: messageId,
      msgBody: msgBody,
    );
  });
}