InvertMediaAttribute

This commit is contained in:
Mikhail Filimonov
2024-05-17 09:04:51 +04:00
parent 62ff5b04ec
commit 63c36a394e
6 changed files with 46 additions and 0 deletions

View File

@@ -523,6 +523,14 @@ public extension Message {
}
return nil
}
var invertMedia: Bool {
for attribute in self.attributes {
if let _ = attribute as? InvertMediaMessageAttribute {
return true
}
}
return false
}
}
public extension Message {