Update API

This commit is contained in:
Ali
2023-01-11 13:41:48 +04:00
parent 858f765d1c
commit 28b2e25514
37 changed files with 30005 additions and 29446 deletions

View File

@@ -833,6 +833,10 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
}
case .attachMenuBotAllowed:
attributedString = NSAttributedString(string: strings.Notification_BotWriteAllowed, font: titleFont, textColor: primaryTextColor)
case let .requestedPeer(_, peerId):
//TODO:localize
let _ = peerId
attributedString = NSAttributedString(string: "Requested Chat", font: titleFont, textColor: primaryTextColor)
case .unknown:
attributedString = nil
}