mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Merge commit '3db9593f49cff10b23efeab3614df5812b562a3b' into temp
# Conflicts: # submodules/TelegramCore/Sources/Utils/MessageUtils.swift
This commit is contained in:
@@ -330,6 +330,15 @@ public extension Message {
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
var textEntitiesAttribute: TextEntitiesMessageAttribute? {
|
||||
for attribute in self.attributes {
|
||||
if let attribute = attribute as? TextEntitiesMessageAttribute {
|
||||
return attribute
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
public func _internal_parseMediaAttachment(data: Data) -> Media? {
|
||||
|
||||
Reference in New Issue
Block a user