mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +00:00
fact chect attribute
This commit is contained in:
parent
464eb8625f
commit
f77b7a7b33
@ -441,6 +441,16 @@ public extension Message {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var factCheckAttribute: FactCheckMessageAttribute? {
|
||||
for attribute in self.attributes {
|
||||
if let attribute = attribute as? FactCheckMessageAttribute {
|
||||
return attribute
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var inlineBotAttribute: InlineBusinessBotMessageAttribute? {
|
||||
for attribute in self.attributes {
|
||||
if let attribute = attribute as? InlineBusinessBotMessageAttribute {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user