All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.app.bsky.actor.FeedViewPref.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("DEPRECATION")

package app.bsky.actor

import kotlin.Boolean
import kotlin.Long
import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable

/**
 * @param feed The URI of the feed, or an identifier which describes the feed.
 * @param hideReplies Hide replies in the feed.
 * @param hideRepliesByUnfollowed Hide replies in the feed if they are not by followed users.
 * @param hideRepliesByLikeCount Hide replies in the feed if they do not have this number of likes.
 * @param hideReposts Hide reposts in the feed.
 * @param hideQuotePosts Hide quote posts in the feed.
 */
@Serializable
public data class FeedViewPref(
  /**
   * The URI of the feed, or an identifier which describes the feed.
   */
  public val feed: String,
  /**
   * Hide replies in the feed.
   */
  public val hideReplies: Boolean? = null,
  /**
   * Hide replies in the feed if they are not by followed users.
   */
  public val hideRepliesByUnfollowed: Boolean? = true,
  /**
   * Hide replies in the feed if they do not have this number of likes.
   */
  public val hideRepliesByLikeCount: Long? = null,
  /**
   * Hide reposts in the feed.
   */
  public val hideReposts: Boolean? = null,
  /**
   * Hide quote posts in the feed.
   */
  public val hideQuotePosts: Boolean? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy