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
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() - 
                  
                  
HMAC of the message ciphertext, with the HMAC key derived from the topic key
Declaration
Swift
public var senderHmac: Data { get set } - 
                  
                  
Returns true if
senderHmachas been explicitly set.Declaration
Swift
public var hasSenderHmac: Bool { get } - 
                  
                  
Clears the value of
senderHmac. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearSenderHmac() - 
                  
                  
Flag indicating whether the message should be pushed from a notification server
Declaration
Swift
public var shouldPush: Bool { get set } - 
                  
                  
Returns true if
shouldPushhas been explicitly set.Declaration
Swift
public var hasShouldPush: Bool { get } - 
                  
                  
Clears the value of
shouldPush. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearShouldPush() - 
                  
                  
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 
      Xmtp_MessageContents_MessageV2 Structure Reference