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.
20 lines
599 B
Swift
20 lines
599 B
Swift
|
|
@objc(SNVisibleMessage)
|
|
public final class VisibleMessage : Message {
|
|
public var text: String?
|
|
public var attachmentIDs: [String] = []
|
|
public var quote: Quote?
|
|
public var linkPreview: LinkPreview?
|
|
public var contact: Contact?
|
|
public var profile: Profile?
|
|
|
|
public override class func fromSerializedProto(_ serializedProto: Data) -> VisibleMessage? {
|
|
return nil
|
|
// guard let data = proto.dataMessage,
|
|
// let text = data.body else { return nil }
|
|
// let result = VisibleMessage()
|
|
// result.text = text
|
|
// return result
|
|
}
|
|
}
|