Package-level declarations

Types

Link copied to clipboard
data class AspectRatio(val width: Long, val height: Long)

width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.

Link copied to clipboard
data class External(val external: ExternalExternal)

A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).

Link copied to clipboard
data class ExternalColorRGB(val r: Long, val g: Long, val b: Long)

RGB color definition, inspired by site.standard.theme.color#rgb

Link copied to clipboard
data class ExternalExternal(val uri: Uri, val title: String, val description: String, val thumb: Blob? = null, val associatedRefs: List<StrongRef>? = null)
Link copied to clipboard
Link copied to clipboard
data class ExternalViewArticle(val uri: Uri, val title: String, val description: String, val createdAt: Timestamp? = null, val updatedAt: Timestamp? = null, val labels: List<Label>? = null, val associatedRefs: List<StrongRef>? = null, val associatedProfiles: List<ProfileViewBasic>? = null, val image: Uri? = null, val publisher: ExternalViewArticlePublication? = null, val readingTime: Long? = null, val likeCount: Long? = null, val likers: List<ProfileViewBasic>? = null)
Link copied to clipboard
data class ExternalViewArticlePublication(val uri: Uri, val title: String, val description: String, val createdAt: Timestamp? = null, val updatedAt: Timestamp? = null, val labels: List<Label>? = null, val associatedRefs: List<StrongRef>? = null, val associatedProfiles: List<ProfileViewBasic>? = null, val logo: Uri? = null, val image: Uri? = null, val theme: ExternalViewArticlePublicationTheme? = null, val subscriptionCount: Long? = null, val subscribers: List<ProfileViewBasic>? = null, val viewer: ExternalViewArticlePublicationViewerState? = null)
Link copied to clipboard
data class ExternalViewArticlePublicationTheme(val background: String? = null, val foreground: String? = null, val accent: String? = null, val accentForeground: String? = null)
data class ExternalViewArticlePublicationViewerState(val subscription: AtUri? = null)

Metadata about the requesting account's relationship with the subject publication. Only has meaningful content for authed requests.

Link copied to clipboard
data class ExternalViewExternal(val uri: Uri, val title: String, val description: String, val thumb: Uri? = null, val createdAt: Timestamp? = null, val updatedAt: Timestamp? = null, val readingTime: Long? = null, val labels: List<Label>? = null, val source: ExternalViewExternalSource? = null, val associatedRefs: List<StrongRef>? = null, val associatedProfiles: List<ProfileViewBasic>? = null)
Link copied to clipboard
data class ExternalViewExternalSource(val uri: Uri, val icon: Uri? = null, val title: String, val description: String? = null, val theme: ExternalViewExternalSourceTheme? = null)

The source of an external embed, such as a standard.site publication.

Link copied to clipboard
data class ExternalViewExternalSourceTheme(val backgroundRGB: ExternalColorRGB? = null, val foregroundRGB: ExternalColorRGB? = null, val accentRGB: ExternalColorRGB? = null, val accentForegroundRGB: ExternalColorRGB? = null)

The theme colors of an external source, such as a standard.site publication. These colors may be used when rendering an embed from that source.

Link copied to clipboard
data class ExternalViewGallery(val uri: Uri, val title: String, val description: String, val createdAt: Timestamp? = null, val updatedAt: Timestamp? = null, val labels: List<Label>? = null, val associatedRefs: List<StrongRef>? = null, val associatedProfiles: List<ProfileViewBasic>? = null, val items: List<ExternalViewGalleryItemUnion>, val photoCount: Long? = null, val likeCount: Long? = null, val likers: List<ProfileViewBasic>? = null)
Link copied to clipboard
data class ExternalViewGalleryImage(val thumbnail: Uri, val fullsize: Uri, val alt: String? = null, val aspectRatio: AspectRatio? = null)
Link copied to clipboard
Link copied to clipboard
data class ExternalViewLivestream(val uri: Uri, val title: String, val description: String, val createdAt: Timestamp? = null, val updatedAt: Timestamp? = null, val labels: List<Label>? = null, val associatedRefs: List<StrongRef>? = null, val associatedProfiles: List<ProfileViewBasic>? = null, val image: Uri? = null, val active: Boolean, val startedAt: Timestamp? = null, val endedAt: Timestamp? = null, val lastSeenAt: Timestamp? = null)
Link copied to clipboard
data class Gallery(val items: List<GalleryItemUnion>)
Link copied to clipboard
data class GalleryImage(val image: Blob, val alt: String, val aspectRatio: AspectRatio)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GalleryViewImage(val thumbnail: Uri, val fullsize: Uri, val alt: String, val aspectRatio: AspectRatio)
Link copied to clipboard
Link copied to clipboard
data class GetEmbedExternalViewQueryParams(val url: Uri, val canonicalUri: AtUri? = null, val uris: List<AtUri>? = null)
Link copied to clipboard
data class GetEmbedExternalViewResponse(val view: ExternalView? = null, val data: GetEmbedExternalViewResponseDataUnion? = null, val associatedRefs: List<StrongRef>? = null, val associatedRecords: List<JsonContent>? = null, val unverifiedAssociatedRefs: List<StrongRef>? = null, val unverifiedAssociatedRecords: List<JsonContent>? = null)
Link copied to clipboard
data class Images(val images: List<ImagesImage>)
Link copied to clipboard
data class ImagesImage(val image: Blob, val alt: String, val aspectRatio: AspectRatio? = null)
Link copied to clipboard
data class ImagesView(val images: List<ImagesViewImage>)
Link copied to clipboard
data class ImagesViewImage(val thumb: Uri, val fullsize: Uri, val alt: String, val aspectRatio: AspectRatio? = null)
Link copied to clipboard
data class Record(val record: StrongRef)
Link copied to clipboard
Link copied to clipboard
data class RecordViewBlocked(val uri: AtUri, val blocked: Boolean, val author: BlockedAuthor)
Link copied to clipboard
data class RecordViewDetached(val uri: AtUri, val detached: Boolean)
Link copied to clipboard
data class RecordViewNotFound(val uri: AtUri, val notFound: Boolean)
Link copied to clipboard
data class RecordViewRecord(val uri: AtUri, val cid: Cid, val author: ProfileViewBasic, val value: JsonContent, val labels: List<Label>? = null, val replyCount: Long? = null, val repostCount: Long? = null, val likeCount: Long? = null, val quoteCount: Long? = null, val opThreadPostIndex: Long? = null, val opThreadPostCount: Long? = null, val embeds: List<RecordViewRecordEmbedUnion>? = null, val indexedAt: Timestamp)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RecordWithMedia(val record: Record, val media: RecordWithMediaMediaUnion)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Video(val video: Blob, val captions: List<VideoCaption>? = null, val alt: String? = null, val aspectRatio: AspectRatio? = null, val presentation: VideoPresentation? = null)
Link copied to clipboard
data class VideoCaption(val lang: Language, val file: Blob)
Link copied to clipboard

A hint to the client about how to present the video.

Link copied to clipboard
data class VideoView(val cid: Cid, val playlist: Uri, val thumbnail: Uri? = null, val alt: String? = null, val aspectRatio: AspectRatio? = null, val presentation: VideoViewPresentation? = null)
Link copied to clipboard

A hint to the client about how to present the video.