Interface SetChatNotificationSettings

Changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can't be changed. Request type for Tdjson#setChatNotificationSettings.

interface SetChatNotificationSettings {
    @type: "setChatNotificationSettings";
    chat_id: number;
    notification_settings: ChatNotificationSettings;
}

Properties

@type: "setChatNotificationSettings"
chat_id: number

Chat identifier.

notification_settings: ChatNotificationSettings

New notification settings for the chat. If the chat is muted for more than 366 days, it is considered to be muted forever.