RemoveNotification
public struct RemoveNotification : Codable, Equatable, TDFunction
Removes an active notification from notification list. Needs to be called only if the notification is removed by the current user
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Identifier of notification group to which the notification belongs
Declaration
Swift
public let notificationGroupId: Int32
-
Identifier of removed notification
Declaration
Swift
public let notificationId: Int32
-
Removes an active notification from notification list. Needs to be called only if the notification is removed by the current user
Declaration
Swift
public init(notificationGroupId: Int32, notificationId: Int32)
Parameters
notificationGroupId
Identifier of notification group to which the notification belongs
notificationId
Identifier of removed notification