Xmtp_MessageContents_MessageV2
public struct Xmtp_MessageContents_MessageV2
extension Xmtp_MessageContents_MessageV2: @unchecked Sendable
extension Xmtp_MessageContents_MessageV2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
Message combines the encoded header with the encrypted payload.
-
encapsulates encoded MessageHeaderV2
Declaration
Swift
public var headerBytes: Data
-
Ciphertext.payload MUST contain encrypted SignedContent
Declaration
Swift
public var ciphertext: Xmtp_MessageContents_Ciphertext { get set }
-
Returns true if
ciphertext
has been explicitly set.Declaration
Swift
public var hasCiphertext: Bool { get }
-
Clears the value of
ciphertext
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearCiphertext()
-
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_MessageV2, rhs: Xmtp_MessageContents_MessageV2) -> Bool