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

@fedify/botkit@0.2.0-dev.77+d1f283de
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
3 weeks ago (0.2.0-dev.77+d1f283de)
interface SharedMessage

A shared message in the ActivityPub network. It is a thin wrapper around an Announce, which is a Fedify object.

Type Parameters

T extends MessageClass

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

TContextData

The type of the context data.

Properties

readonly
raw: Announce

The underlying raw shared message object.

readonly
id: URL

The URI of the shared message.

readonly
actor: Actor

The actor who shared the message.

The visibility of the shared message.

The original message.

Add Package

deno add jsr:@fedify/botkit

Import symbol

import { type SharedMessage } from "@fedify/botkit/message";

---- OR ----

Import directly with a jsr specifier

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