Admin API / Types

LivestreamViewerState

Object

The caller's relationship to a livestream.

type LivestreamViewerState

Fields

FieldTypeDescription
canModerateBoolean!
True when the caller has a moderation grant: the host, staff of the host's store, a joined cohost, an assigned moderator, or the MODERATOR role or higher. Each action can limit its targets.
canProduceShowBoolean!
Whether the caller can run this show: the host is the caller or the owner of a store that the caller staffs, the caller has the SELLER role or higher, the caller is not kicked from the show, and the caller can go live. A cohost, or an admin who does not act for the host, gets false.
participationLivestreamParticipation
The caller's highest part in the livestream: HOST before COHOST before MODERATOR. Store staff of the host read HOST. Null when the caller has none.

Returned by