chitose.app.bsky.richtext package#
Submodules#
chitose.app.bsky.richtext.facet module#
- class chitose.app.bsky.richtext.facet.ByteSlice(byte_start: int, byte_end: int)#
Bases:
ObjectA text segment. Start is inclusive, end is exclusive. Indices are for utf8-encoded strings.
- to_dict() dict[str, Any]#
- class chitose.app.bsky.richtext.facet.Facet(index: ByteSlice, features: list[Mention | Link])#
Bases:
Object- to_dict() dict[str, Any]#
Module contents#
- class chitose.app.bsky.richtext.Richtext_(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:
objectWe recommend calling methods in this class via the chitose.BskyAgent class instead of creating instances of this class directly.