Skip to main content
The Deno 2 Release Candidate is here
Learn more
class Question
import { Question } from "https://deno.land/x/activitypub@v0.1.0/mod.ts";

Represents a question being asked. Question objects are an extension of IntransitiveActivity. That is, the Question object is an Activity, but the direct object is the question itself, and therefore it would not contain an object property.

Either of the anyOf and oneOf properties MAY be used to express possible answers, but a Question object MUST NOT have both properties.

Docs