Update API

This commit is contained in:
Ali
2023-06-23 23:11:46 +03:00
parent d19dd381a3
commit 9110d1912a
8 changed files with 61 additions and 25 deletions

View File

@@ -6,7 +6,7 @@ import TelegramApi
extension TelegramPeerNotificationSettings {
convenience init(apiSettings: Api.PeerNotifySettings) {
switch apiSettings {
case let .peerNotifySettings(_, showPreviews, _, muteUntil, iosSound, _, desktopSound, storiesMuted):
case let .peerNotifySettings(_, showPreviews, _, muteUntil, iosSound, _, desktopSound, storiesMuted, _, _, _, _):
let sound: Api.NotificationSound?
#if os(iOS)
sound = iosSound