Xmtp_MessageContents_MessageV1
public struct Xmtp_MessageContents_MessageV1
extension Xmtp_MessageContents_MessageV1: @unchecked Sendable
extension Xmtp_MessageContents_MessageV1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
Message is the top level protocol element
-
encapsulates encoded MessageHeaderV1
Declaration
Swift
public var headerBytes: Data -
Ciphertext.payload MUST contain encrypted EncodedContent
Declaration
Swift
public var ciphertext: Xmtp_MessageContents_Ciphertext { get set } -
Returns true if
ciphertexthas 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_MessageV1, rhs: Xmtp_MessageContents_MessageV1) -> Bool
Xmtp_MessageContents_MessageV1 Structure Reference