ExternalSenderKey

open class ExternalSenderKey : ExternalSenderKeyProtocol, @unchecked Sendable

The raw public key of an external sender.

This can be used to initialize a subconversation.

  • Construct a new instance, transferring data from the client layer to Rust.

    Declaration

    Swift

    public convenience init(bytes: Data)
  • Get the raw bytes from this type, transferring data from Rust to the client layer.

    This does not consume the newtype, instead copying the internal data across the FFI boundary.

    Declaration

    Swift

    open func copyBytes() -> Data