mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
14 lines
350 B
Swift
14 lines
350 B
Swift
import Foundation
|
|
import Postbox
|
|
import TelegramCore
|
|
|
|
struct InstantPageMedia: Equatable {
|
|
let index: Int
|
|
let media: Media
|
|
let caption: RichText?
|
|
|
|
static func ==(lhs: InstantPageMedia, rhs: InstantPageMedia) -> Bool {
|
|
return lhs.index == rhs.index && lhs.media.isEqual(to: rhs.media) && lhs.caption == rhs.caption
|
|
}
|
|
}
|