libtd-ktx / kotlinx.telegram.extensions / ChatKtx / setNotificationSettings
setNotificationSettings
open suspend fun Chat.setNotificationSettings(notificationSettings: ChatNotificationSettings?): Unit
Suspend function, which changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can’t be changed.
Parameters
notificationSettings - New notification settings for the chat. If the chat is muted for
more than 1 week, it is considered to be muted forever.