Xmtp_MessageContents_MessageHeaderV1
public struct Xmtp_MessageContents_MessageHeaderV1
extension Xmtp_MessageContents_MessageHeaderV1: @unchecked Sendable
extension Xmtp_MessageContents_MessageHeaderV1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
Message header is encoded separately as the bytes are also used as associated data for authenticated encryption
-
Undocumented
Declaration
Swift
public var sender: Xmtp_MessageContents_PublicKeyBundle { get set }
-
Returns true if
sender
has been explicitly set.Declaration
Swift
public var hasSender: Bool { get }
-
Clears the value of
sender
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearSender()
-
Undocumented
Declaration
Swift
public var recipient: Xmtp_MessageContents_PublicKeyBundle { get set }
-
Returns true if
recipient
has been explicitly set.Declaration
Swift
public var hasRecipient: Bool { get }
-
Clears the value of
recipient
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearRecipient()
-
Undocumented
Declaration
Swift
public var timestamp: UInt64 { get set }
-
Declaration
Swift
public var unknownFields: UnknownStorage
-
Declaration
Swift
public init()
-
Declaration
Swift
public static let protoMessageName: String
-
Declaration
Swift
public static let _protobuf_nameMap: SwiftProtobuf._NameMap
-
Declaration
Swift
public mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
-
Declaration
Swift
public func traverse<V>(visitor: inout V) throws where V : Visitor
-
Declaration
Swift
public static func == (lhs: Xmtp_MessageContents_MessageHeaderV1, rhs: Xmtp_MessageContents_MessageHeaderV1) -> Bool