chitose.com.atproto.moderation package#

Submodules#

chitose.com.atproto.moderation.create_report module#

chitose.com.atproto.moderation.defs module#

Module contents#

class chitose.com.atproto.moderation.Moderation_(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.

create_report(reason_type: Literal['com.atproto.moderation.defs#reasonSpam', 'com.atproto.moderation.defs#reasonViolation', 'com.atproto.moderation.defs#reasonMisleading', 'com.atproto.moderation.defs#reasonSexual', 'com.atproto.moderation.defs#reasonRude', 'com.atproto.moderation.defs#reasonOther'], subject: RepoRef | StrongRef, reason: str | None = None) bytes#

Report a repo or a record.