method Service.prototype.getFeatured
Service.prototype.getFeatured(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise<Collection | null>
What is known in Mastodon as "pinned statuses", or statuses that are always
featured at the top of people's profiles, is implemented using an extra
property featured on the actor object that points to a Collection
of objects.
Parameters
Return Type
Use with
Deno
Deno
pnpm
Yarn
vlt
npm
Bun
Add Package
deno add jsr:@fedify/vocab
Import symbol
import { Service } from "@fedify/vocab";
or
Import directly with a jsr specifier
import { Service } from "jsr:@fedify/vocab@^2.3.6";