Skip to main content
Home
This release is a pre-release — the latest non-prerelease version of @fedify/botkit is 0.3.0. Jump to this version

@fedify/botkit@0.4.0-dev.172+8388e94a
Built and signed on GitHub Actions

A framework for creating ActivityPub bots

This package works with Deno
This package works with Deno
JSR Score
88%
Published
2 weeks ago (0.4.0-dev.172+8388e94a)
interface FollowRequest

A follow request to the bot.

Properties

readonly
id: URL

The URI of the follow request.

readonly
raw: Follow

The raw follow request object.

readonly
follower: Actor

The follower actor.

readonly
state:
"pending"
| "accepted"
| "rejected"

The state of the follow request.

  • "pending": The follow request is pending.
  • "accepted": The follow request is accepted.
  • "rejected": The follow request is rejected.

Methods

accept(): Promise<void>

Accepts the follow request.

reject(): Promise<void>

Rejects the follow request.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fedify/botkit

Import symbol

import { type FollowRequest } from "@fedify/botkit/follow";
or

Import directly with a jsr specifier

import { type FollowRequest } from "jsr:@fedify/botkit/follow";