updateChatThreadName method

Future<void> updateChatThreadName({
  1. required String chatThreadId,
  2. required String newName,
})

Implementation

Future<void> updateChatThreadName({
  required String chatThreadId,
  required String newName,
}) {
  return checkResult(ChatSDKEvent.updateChatThreadName, () {
    return Client.getInstance.chatThreadManager
        .updateChatThreadName(chatThreadId: chatThreadId, newName: newName);
  });
}