mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
802 B
Swift
40 lines
802 B
Swift
|
|
@objc(SNReactMessage)
|
|
public final class ReactMessage : MTLModel {
|
|
|
|
public var timestamp: UInt64?
|
|
public var authorId: String?
|
|
|
|
@objc
|
|
public var emoji: String?
|
|
|
|
@objc
|
|
public var sender: String?
|
|
|
|
@objc
|
|
public var messageId: String?
|
|
|
|
@objc
|
|
public init(timestamp: UInt64, authorId: String, emoji: String?) {
|
|
self.timestamp = timestamp
|
|
self.authorId = authorId
|
|
self.emoji = emoji
|
|
super.init()
|
|
}
|
|
|
|
@objc
|
|
public override init() {
|
|
super.init()
|
|
}
|
|
|
|
@objc
|
|
public required init!(coder: NSCoder) {
|
|
super.init(coder: coder)
|
|
}
|
|
|
|
@objc
|
|
public required init(dictionary dictionaryValue: [String: Any]!) throws {
|
|
try super.init(dictionary: dictionaryValue)
|
|
}
|
|
}
|