Moderation
The moderation module’s lookups on chat: the moderation feed, for the audience’s remote moderation provider to catch up on (Subscription.chatModeration sends it live).
Objects
Section titled “Objects”AudienceChatModerationView
Section titled “AudienceChatModerationView”Object · implements IAudienceChatModeration · staffql only
The local implementation of the moderation module’s lookups on chat.
| Field | Type | Description |
|---|---|---|
events staffql onlyafter: IDfirst: Int |
ChatModerationEventPage! |
The feed’s kept events after a cursor, oldest first. Only the provider signed in with its service token reads it. requires chat:moderate:* |
room staffql onlycursor: ID!days: Int |
JSON |
What an AI host may tell the room of an event’s message about where it is, to answer from facts: a venue’s details (address, hours, cover), tonight (events and the running order) and, with days, its events after tonight; a locale’s events at its venues through tonight and days more. Performers by name only where they are Public, and never anyone a block stands between them and the message’s sender. Moderation::RoomInfo. requires chat:moderate:* |
settings staffql only |
JSON |
What the audience’s admins set for the provider signed in, in the console’s Moderation plugin: only the values someone set, camelCased, with configured and updatedAt. Null for a provider without settings. Arbiter reads Moderation::ArbiterSettings here. requires chat:moderate:* |
ChatModerationEventPage
Section titled “ChatModerationEventPage”Object · staffql only
Events of the moderation feed after a cursor, oldest first (Query.chat.moderation.events).
| Field | Type | Description |
|---|---|---|
cursor staffql only |
ID |
The last event in it, to ask for the next page after. |
events staffql only |
[ChatModerationEvent!]! |
The events. |
gap staffql only |
Boolean! |
Whether some events after the cursor asked from are no longer kept. |
more staffql only |
Boolean! |
Whether there are more after this page. |
Interfaces
Section titled “Interfaces”IAudienceChatModeration
Section titled “IAudienceChatModeration”Interface · implemented by AudienceChatModerationView · mixin edge moderation on AudienceChatView · staffql only
The moderation module’s lookups on chat: the moderation feed, for the audience’s remote moderation provider to catch up on (Subscription.chatModeration sends it live).
| Field | Type | Description |
|---|---|---|
events staffql onlyafter: IDfirst: Int |
ChatModerationEventPage! |
The feed’s kept events after a cursor, oldest first. Only the provider signed in with its service token reads it. requires chat:moderate:* |
room staffql onlycursor: ID!days: Int |
JSON |
What an AI host may tell the room of an event’s message about where it is, to answer from facts: a venue’s details (address, hours, cover), tonight (events and the running order) and, with days, its events after tonight; a locale’s events at its venues through tonight and days more. Performers by name only where they are Public, and never anyone a block stands between them and the message’s sender. Moderation::RoomInfo. requires chat:moderate:* |
settings staffql only |
JSON |
What the audience’s admins set for the provider signed in, in the console’s Moderation plugin: only the values someone set, camelCased, with configured and updatedAt. Null for a provider without settings. Arbiter reads Moderation::ArbiterSettings here. requires chat:moderate:* |