mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Update API
This commit is contained in:
parent
efb1110987
commit
0df319742a
69 changed files with 12319 additions and 10209 deletions
|
|
@ -500,7 +500,17 @@ public extension Message {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var guestChatAttribute: GuestChatMessageAttribute? {
|
||||
for attribute in self.attributes {
|
||||
if let attribute = attribute as? GuestChatMessageAttribute {
|
||||
return attribute
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
public extension Message {
|
||||
var reactionsAttribute: ReactionsMessageAttribute? {
|
||||
for attribute in self.attributes {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue