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
id
Unique persistent auto-incremented from 1 identifier of the notification group
type
Type of the group
chatId
Identifier of a chat to which all notifications in the group belong
totalCount
Total number of active notifications in the group
notifications
The list of active notifications