Admin API / Types
LivestreamViewerState
ObjectThe caller's relationship to a livestream.
type LivestreamViewerStateFields
| Field | Type | Description |
|---|---|---|
canModerate | Boolean! | 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. |
canProduceShow | Boolean! | 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. |
participation | LivestreamParticipation | 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. |