PromotedActivityInput
What you send to promote something.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TCustom |
Record<string, unknown> |
Properties
Section titled “Properties”actor: string;Free-form, and never overwritten: these routes are server-token only. e.g. “sponsor:nike”.
audience?
Section titled “audience?”optional audience?: string[] | null;Which feeds to target. Omit (or null) to reach EVERY user, including brand-new ones whose feed is otherwise empty. Otherwise feed refs the reader must follow — targeting is the follow graph, because we hold no user attributes. Max 20; a reader matching ANY of them is eligible.
custom?
Section titled “custom?”optional custom?: TCustom;expires_at?
Section titled “expires_at?”optional expires_at?: string | null;ISO timestamp, must be in the future. Null (or omitted) means “until you retract it”.
object
Section titled “object”object: string;starts_at?
Section titled “starts_at?”optional starts_at?: string;ISO timestamp. Defaults to now; nothing is served before it.
verb: string;