SetChatNotificationSettings
public struct SetChatNotificationSettings : Codable, Equatable, TDFunction
Changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can’t be changed
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Chat identifier
Declaration
Swift
public let chatId: Int53
-
New notification settings for the chat. If the chat is muted for more than 1 week, it is considered to be muted forever
Declaration
Swift
public let notificationSettings: ChatNotificationSettings
-
Changes the notification settings of a chat. Notification settings of a chat with the current user (Saved Messages) can’t be changed
Declaration
Swift
public init(chatId: Int53, notificationSettings: ChatNotificationSettings)
Parameters
chatId
Chat identifier
notificationSettings
New notification settings for the chat. If the chat is muted for more than 1 week, it is considered to be muted forever