Bubble/Threaded/Data/Emoji.swift

20 lines
423 B
Swift
Raw Normal View History

2023-12-29 11:17:37 +01:00
//Made by Lumaa
import Foundation
public struct Emoji: Codable, Hashable, Identifiable, Equatable, Sendable {
public func hash(into hasher: inout Hasher) {
hasher.combine(shortcode)
}
public var id: String {
shortcode
}
public let shortcode: String
public let url: URL
public let staticUrl: URL
public let visibleInPicker: Bool
public let category: String?
}