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

@fedify/botkit@0.3.0-dev.119+a1068dd9
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
a week ago (0.3.0-dev.119+a1068dd9)
interface AuthorizedMessage

An authorized message in the ActivityPub network. Usually it is a message published by the bot itself.

Type Parameters

T extends MessageClass

The class of the message. One of Article, ChatMessage, Note, or Question.

TContextData

The type of the context data.

Methods

update(text: Text<"block", TContextData>): Promise<void>

Updates the message with new content.

delete(): Promise<void>

Deletes the message, if possible.

If the message is already deleted, it will be a no-op.

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 AuthorizedMessage } from "@fedify/botkit/message";
or

Import directly with a jsr specifier

import { type AuthorizedMessage } from "jsr:@fedify/botkit/message";