NotificationGroup
public struct NotificationGroup : Codable, Equatable, FunctionResult
Describes a group of notifications
-
Unique persistent auto-incremented from 1 identifier of the notification group
Declaration
Swift
public let id: Int32 -
Type of the group
Declaration
Swift
public let type: NotificationGroupType -
Identifier of a chat to which all notifications in the group belong
Declaration
Swift
public let chatId: Int53 -
Total number of active notifications in the group
Declaration
Swift
public let totalCount: Int32 -
The list of active notifications
Declaration
Swift
public let notifications: [Notification] -
Describes a group of notifications
Declaration
Swift
public init(id: Int32, type: NotificationGroupType, chatId: Int53, totalCount: Int32, notifications: [Notification])Parameters
idUnique persistent auto-incremented from 1 identifier of the notification group
typeType of the group
chatIdIdentifier of a chat to which all notifications in the group belong
totalCountTotal number of active notifications in the group
notificationsThe list of active notifications
View on GitHub
Install in Dash
NotificationGroup Structure Reference