Update API [skip ci]

This commit is contained in:
Ilya Laktyushin
2024-12-26 07:27:14 +04:00
parent 6605f113e5
commit 6e850130fd
122 changed files with 2689 additions and 1770 deletions

View File

@@ -269,12 +269,12 @@ public extension Peer {
}
}
var verification: PeerVerification? {
var verificationIconFileId: Int64? {
switch self {
case let user as TelegramUser:
return user.verification
return user.verificationIconFileId
case let channel as TelegramChannel:
return channel.verification
return channel.verificationIconFileId
default:
return nil
}