Skip to main content

updateThreadName

client.chat.updateThreadName(data: UpdateThreadNameRequest): Promise<void>

Updates the display name of a chat thread.

Changes the human-readable name shown in the thread list.

Parameters

ParameterTypeRequiredDescription
dataUpdateThreadNameRequestYesThe name update payload

Returns

Promise<void> — A promise that resolves when the name has been updated

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.chat.updateThreadName(/* UpdateThreadNameRequest */);
console.log(result);