Home / @sym20/core-conversations / IConversationStore / updateConversation

IConversationStore.updateConversation() method

Update the settings of a conversation.

Signature
updateConversation(conversationId: ConversationId, settings: Partial<IRoomSettingsUpdate>): Promise<void>;

Parameters

ParameterTypeDescription
conversationIdConversationId

The conversation to update

settingsPartial<IRoomSettingsUpdate>

New settings for the conversation. Any settings not included will not be updated.

Throws

Error

ConversationNotFound

RoomNameNotUnique

RoomNameTooLong

TooManyMembersInConversation

UserNotEntitled