ScopeNotificationSettings
public struct ScopeNotificationSettings : Codable, Equatable, FunctionResult
Contains information about notification settings for several chats
-
Time left before notifications will be unmuted, in seconds
Declaration
Swift
public let muteFor: Int32 -
The name of an audio file to be used for notification sounds; only applies to iOS applications
Declaration
Swift
public let sound: String -
True, if message content should be displayed in notifications
Declaration
Swift
public let showPreview: Bool -
True, if notifications for incoming pinned messages will be created as for an ordinary unread message
Declaration
Swift
public let disablePinnedMessageNotifications: Bool -
True, if notifications for messages with mentions will be created as for an ordinary unread message
Declaration
Swift
public let disableMentionNotifications: Bool -
Contains information about notification settings for several chats
Declaration
Swift
public init(muteFor: Int32, sound: String, showPreview: Bool, disablePinnedMessageNotifications: Bool, disableMentionNotifications: Bool)Parameters
muteForTime left before notifications will be unmuted, in seconds
soundThe name of an audio file to be used for notification sounds; only applies to iOS applications
showPreviewTrue, if message content should be displayed in notifications
disablePinnedMessageNotificationsTrue, if notifications for incoming pinned messages will be created as for an ordinary unread message
disableMentionNotificationsTrue, if notifications for messages with mentions will be created as for an ordinary unread message
View on GitHub
Install in Dash
ScopeNotificationSettings Structure Reference