chitose.app.bsky.embed package#

Submodules#

chitose.app.bsky.embed.external module#

A representation of some externally linked content, embedded in another form of content

class chitose.app.bsky.embed.external.External(external: ExternalExternal)#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.external.ExternalExternal(uri: str, title: str, description: str, thumb: Blob | None = None)#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.external.View(external: ViewExternal)#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.external.ViewExternal(uri: str, title: str, description: str, thumb: str | None = None)#

Bases: Object

to_dict() dict#

chitose.app.bsky.embed.images module#

A set of images embedded in some other form of content

class chitose.app.bsky.embed.images.Image(image: Blob, alt: str)#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.images.Images(images: list[Image])#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.images.View(images: list[ViewImage])#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.images.ViewImage(thumb: str, fullsize: str, alt: str)#

Bases: Object

to_dict() dict#

chitose.app.bsky.embed.record module#

A representation of a record embedded in another form of content

class chitose.app.bsky.embed.record.Record(record: StrongRef)#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.record.View(record: ViewRecord | ViewNotFound | ViewBlocked | GeneratorView)#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.record.ViewBlocked(uri: str)#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.record.ViewNotFound(uri: str)#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.record.ViewRecord(uri: str, cid: str, author: ProfileViewBasic, value: Any, indexed_at: str, labels: list[Label] | None = None, embeds: list[View | View | View | View] | None = None)#

Bases: Object

to_dict() dict#

chitose.app.bsky.embed.record_with_media module#

A representation of a record embedded in another form of content, alongside other compatible embeds

class chitose.app.bsky.embed.record_with_media.RecordWithMedia(record: Record, media: Images | External)#

Bases: Object

to_dict() dict#
class chitose.app.bsky.embed.record_with_media.View(record: View, media: View | View)#

Bases: Object

to_dict() dict#

Module contents#

class chitose.app.bsky.embed.Embed_(call: Callable[[str, list[tuple[str, str | None | int | list[str]]], bytes | dict | None, dict[str, str]], bytes], subscribe: Callable[[str, list[tuple[str, str | None | int | list[str]]], Callable[[str | bytes], None]], None])#

Bases: object

We recommend calling methods in this class via the chitose.BskyAgent class instead of creating instances of this class directly.