Xmtp_MessageApi_V1_Envelope

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

Envelope encapsulates a message while in transit.

  • The topic the message belongs to, If the message includes the topic as well it MUST be the same as the topic in the envelope.

    Declaration

    Swift

    public var contentTopic: String
  • Message creation timestamp If the message includes the timestamp as well it MUST be equivalent to the timestamp in the envelope.

    Declaration

    Swift

    public var timestampNs: UInt64
  • Undocumented

    Declaration

    Swift

    public var message: Data
  • 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_MessageApi_V1_Envelope, rhs: Xmtp_MessageApi_V1_Envelope) -> Bool