mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
18 lines
435 B
Swift
18 lines
435 B
Swift
import Foundation
|
|
|
|
public struct ChatListHole: Hashable, CustomStringConvertible {
|
|
public let index: MessageIndex
|
|
|
|
public init(index: MessageIndex) {
|
|
self.index = index
|
|
}
|
|
|
|
public var description: String {
|
|
return "ChatListHole(\(self.index.id), \(self.index.timestamp))"
|
|
}
|
|
|
|
public static func <(lhs: ChatListHole, rhs: ChatListHole) -> Bool {
|
|
return lhs.index < rhs.index
|
|
}
|
|
}
|