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
chatIdChat identifier
notificationSettingsNew notification settings for the chat. If the chat is muted for more than 1 week, it is considered to be muted forever
View on GitHub
Install in Dash
SetChatNotificationSettings Structure Reference