mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Update API [skip ci]
This commit is contained in:
parent
18f2d91ccd
commit
4f42e41180
33 changed files with 186 additions and 260 deletions
|
|
@ -568,6 +568,15 @@ public extension Message {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var paidStarsAttribute: PaidStarsMessageAttribute? {
|
||||
for attribute in self.attributes {
|
||||
if let attribute = attribute as? PaidStarsMessageAttribute {
|
||||
return attribute
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
public extension Message {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue