mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Language suggestion alert Ability to create new contact from "tel:"-link context menu and chat search Upload date display for profile pictures Instant View improvements
16 lines
459 B
Swift
16 lines
459 B
Swift
import Foundation
|
|
import Postbox
|
|
import TelegramCore
|
|
|
|
struct InstantPageMedia: Equatable {
|
|
let index: Int
|
|
let media: Media
|
|
let url: InstantPageUrlItem?
|
|
let caption: RichText?
|
|
let credit: RichText?
|
|
|
|
static func ==(lhs: InstantPageMedia, rhs: InstantPageMedia) -> Bool {
|
|
return lhs.index == rhs.index && lhs.media.isEqual(to: rhs.media) && lhs.url == rhs.url && lhs.caption == rhs.caption && lhs.credit == rhs.credit
|
|
}
|
|
}
|