libtd-ktx / kotlinx.telegram.coroutines / setScopeNotificationSettings
setScopeNotificationSettings
suspend fun
TelegramFlow
.setScopeNotificationSettings(scope:
NotificationSettingsScope
?, notificationSettings:
ScopeNotificationSettings
?):
Unit
Suspend function, which changes notification settings for chats of a given type.
Parameters
scope
- Types of chats for which to change the notification settings.
notificationSettings
- The new notification settings for the given scope.