Client
class Client(libXMTPClient: FfiXmtpClient, val dbPath: String, val installationId: String, val inboxId: InboxId, val environment: XMTPEnvironment, val publicIdentity: PublicIdentity)
Constructors
Link copied to clipboard
constructor(libXMTPClient: FfiXmtpClient, dbPath: String, installationId: String, inboxId: InboxId, environment: XMTPEnvironment, publicIdentity: PublicIdentity)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun createArchive(path: String, encryptionKey: ByteArray, opts: ArchiveOptions = ArchiveOptions())
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun ffiAddIdentity(publicIdentityToAdd: PublicIdentity, allowReassignInboxId: Boolean = false): SignatureRequest
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun inboxStatesForInboxIds(refreshFromNetwork: Boolean, inboxIds: List<InboxId>): List<InboxState>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Manually trigger a device sync request to sync records from another active device on this account.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun verifySignatureWithInstallationId(message: String, signature: ByteArray, installationId: String): Boolean