Swiftgram/submodules/Postbox/Sources/ChatListHole.swift
2021-09-03 00:45:22 +04:00

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
}
}