mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
InvertMediaAttribute
This commit is contained in:
@@ -531,6 +531,14 @@ public extension Message {
|
||||
}
|
||||
return false
|
||||
}
|
||||
var invertMediaAttribute: InvertMediaMessageAttribute? {
|
||||
for attribute in self.attributes {
|
||||
if let attribute = attribute as? InvertMediaMessageAttribute {
|
||||
return attribute
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
public extension Message {
|
||||
|
||||
Reference in New Issue
Block a user