SetScopeNotificationSettings
public struct SetScopeNotificationSettings : Codable, Equatable, TDFunction
Changes notification settings for chats of a given type
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Types of chats for which to change the notification settings
Declaration
Swift
public let scope: NotificationSettingsScope
-
The new notification settings for the given scope
Declaration
Swift
public let notificationSettings: ScopeNotificationSettings
-
Changes notification settings for chats of a given type
Declaration
Swift
public init(scope: NotificationSettingsScope, notificationSettings: ScopeNotificationSettings)
Parameters
scope
Types of chats for which to change the notification settings
notificationSettings
The new notification settings for the given scope