18 lines
445 B
Swift
18 lines
445 B
Swift
//
|
|
// Copyright 2022 Signal Messenger, LLC
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
//
|
|
|
|
import Foundation
|
|
public import LibSignalClient
|
|
|
|
/// Describes a message that is being replied to in a draft.
|
|
public struct ThreadReplyInfo: Codable {
|
|
public let timestamp: UInt64
|
|
@AciUuid public var author: Aci
|
|
|
|
public init(timestamp: UInt64, author: Aci) {
|
|
self.timestamp = timestamp
|
|
self._author = author.codableUuid
|
|
}
|
|
}
|