commonMain.app.bsky.graph.getSuggestedFollowsByActor.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 app.bsky.graph
import app.bsky.actor.ProfileView
import kotlin.Any
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlinx.collections.immutable.toImmutableList
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.AtIdentifier
import sh.christian.ozone.api.model.ReadOnlyList
@Serializable
public data class GetSuggestedFollowsByActorQueryParams(
public val actor: AtIdentifier,
) {
public fun asList(): ReadOnlyList> = buildList {
add("actor" to actor)
}.toImmutableList()
}
/**
* @param isFallback If true, response has fallen-back to generic results, and is not scoped using
* relativeToDid
*/
@Serializable
public data class GetSuggestedFollowsByActorResponse(
public val suggestions: ReadOnlyList,
/**
* If true, response has fallen-back to generic results, and is not scoped using relativeToDid
*/
public val isFallback: Boolean? = false,
)