commonMain.com.atproto.server.createInviteCodes.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluesky Show documentation
Show all versions of bluesky Show documentation
Bluesky Social API bindings for Kotlin.
The newest version!
@file:Suppress("DEPRECATION")
package com.atproto.server
import kotlin.Long
import kotlin.Suppress
import kotlinx.collections.immutable.persistentListOf
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Did
import sh.christian.ozone.api.model.ReadOnlyList
@Serializable
public data class CreateInviteCodesRequest(
public val codeCount: Long,
public val useCount: Long,
public val forAccounts: ReadOnlyList = persistentListOf(),
)
@Serializable
public data class CreateInviteCodesResponse(
public val codes: ReadOnlyList,
)