Methods

setNotificationSettings

Set a chat’s notification settings. USER-ONLY

Parameters

chatId: ID

The identifier of the chat.

Result

void

Syntax

// Required parameters only.
await client.setNotificationSettings(chatId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.setNotificationSettings(chatId, { settings });