Xmtp_MessageContents_InvitationV1

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

Unsealed invitation V1

  • topic name chosen for this conversation. It MUST be randomly generated bytes (length >= 32), then base64 encoded without padding

    Declaration

    Swift

    public var topic: String
  • A context object defining metadata

    Declaration

    Swift

    public var context: Xmtp_MessageContents_InvitationV1.Context { get set }
  • Returns true if context has been explicitly set.

    Declaration

    Swift

    public var hasContext: Bool { get }
  • Clears the value of context. Subsequent reads from it will return its default value.

    Declaration

    Swift

    public mutating func clearContext()
  • message encryption scheme and keys for this conversation.

    Declaration

    Swift

    public var encryption: Xmtp_MessageContents_InvitationV1.OneOf_Encryption?
  • Specify the encryption method to process the key material properly.

    Declaration

    Swift

    public var aes256GcmHkdfSha256: Xmtp_MessageContents_InvitationV1.Aes256gcmHkdfsha256 { get set }
  • Declaration

    Swift

    public var unknownFields: UnknownStorage
  • message encryption scheme and keys for this conversation.

    See more

    Declaration

    Swift

    public enum OneOf_Encryption : Equatable
    extension Xmtp_MessageContents_InvitationV1.OneOf_Encryption: @unchecked Sendable
  • Supported encryption schemes AES256-GCM-HKDF-SHA256

    See more

    Declaration

    Swift

    public struct Aes256gcmHkdfsha256
    extension Xmtp_MessageContents_InvitationV1.Aes256gcmHkdfsha256: @unchecked Sendable
    extension Xmtp_MessageContents_InvitationV1.Aes256gcmHkdfsha256: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
  • The context type

    See more

    Declaration

    Swift

    public struct Context
    extension Xmtp_MessageContents_InvitationV1.Context: @unchecked Sendable
    extension Xmtp_MessageContents_InvitationV1.Context: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
  • 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_InvitationV1, rhs: Xmtp_MessageContents_InvitationV1) -> Bool