- isSecretChat method for PeerId

This commit is contained in:
Mike Renoir
2024-01-02 18:42:09 +04:00
parent 1f95e664df
commit cdb02411b1

View File

@@ -433,4 +433,7 @@ public extension PeerId {
}
return false
}
var isSecretChat: Bool {
return self.namespace == Namespaces.Peer.SecretChat
}
}