Xmtp_MessageContents_MessageHeaderV2

public struct Xmtp_MessageContents_MessageHeaderV2
extension Xmtp_MessageContents_MessageHeaderV2: @unchecked Sendable
extension Xmtp_MessageContents_MessageHeaderV2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding

Message header carries information that is not encrypted, and is therefore observable by the network. It is however authenticated as associated data of the AEAD encryption used to protect the message, thus providing tamper evidence.

  • sender specified message creation time

    Declaration

    Swift

    public var createdNs: UInt64
  • the topic the message belongs to

    Declaration

    Swift

    public var topic: String
  • Declaration

    Swift

    public var unknownFields: UnknownStorage
  • Declaration

    Swift

    public init()

Code below here is support for the SwiftProtobuf runtime.

  • 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_MessageHeaderV2, rhs: Xmtp_MessageContents_MessageHeaderV2) -> Bool