Chat
The chat module’s root lookups: the audience’s rooms, a room’s transcript and bans, and the moderators an audience can use.
Root fields
Section titled “Root fields”| Field | Type | Description |
|---|---|---|
chat |
IAudienceChat! |
The instance’s IAudienceChat mixin. Left out of the schema where its module isn’t installed. |
Mutations
Section titled “Mutations”| Operation | Returns | Description |
|---|---|---|
acknowledgeSafetyAlert staffql onlyinput: SafetyAlertAcknowledgeInput! |
SafetyAlertAcknowledgePayload |
Picks up a safety alert at your venue (“I’m on it”). The guest is told your first name is on the way; if someone else picked it up first, says who. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
chat staffql only |
IMutationChat |
The instance’s IMutationChat mixin, when available to the viewer. requires chat:moderate:* |
clearChatRoom staffql onlyinput: ChatRoomClearInput! |
ChatRoomClearPayload |
Clears a venue’s or a locale’s chat room: every message in it is removed, for everyone in the room and from the transcript. requires chat:moderate:mine or chat:moderate:venue |
closeSafetyAlert staffql onlyinput: SafetyAlertCloseInput! |
SafetyAlertClosePayload |
Closes a safety alert at your venue, with how it went. The guest is told it was closed and that they can send another; never the outcome. “Something seems off” puts it in front of the audience’s team. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
connectChat staffql onlyinput: ChatConnectInput! |
ChatConnectPayload |
Moves the audience’s chat rooms to a provider (Chat::Provider), e.g. its Discord server, or changes the connection: the community, its invite link and, for providers with an API, a bot token, stored encrypted. Omitted arguments keep their value; an empty string clears it. Use disconnectChat to go back to AudienceKit’s own rooms. requires chat:write:* |
disconnectChat staffql onlyinput: ChatDisconnectInput! |
ChatDisconnectPayload |
Disconnects the audience’s chat provider and forgets its bot token and channels: its rooms are AudienceKit’s own again, with whatever they held before. requires chat:write:* |
moderateVenueChat staffql onlyinput: VenueChatModerateInput! |
VenueChatModeratePayload |
Kicks someone out of one venue chat, or bans or unbans them from the venue, without changing their audience access. A venue ban keeps them out of its chat and takes away their view of the venue, its events and lineups (Ability::AT_VENUE). Staff can only moderate people who were at the venue; platform admins can ban any member. The cast of a show there may KICK while it runs and for an hour after it ends (VenueShow.castModeratesUntil); banning stays with the venue. requires chat:moderate:mine or chat:moderate:venue |
pinChatMessage staffql onlyinput: ChatMessagePinInput! |
ChatMessagePinPayload |
Pins an announcement under its chat room’s title, replacing the one pinned there, or unpins it. requires chat:moderate:mine or chat:moderate:venue |
promoteChatLink staffql onlyinput: ChatLinkPromoteInput! |
ChatLinkPromotePayload |
Makes a venue’s or an event’s community chat link (a Discord, Matrix or IRC SocialLink) its own chat account. A venue’s room then goes to that community instead of the audience’s: a Discord invite becomes the server it’s for. The account starts as a link-out; map the room to a channel (setChatChannel) and add a bot and the bridge (connectChat with venueId) as with any venue account. An event’s becomes where the apps send people from the event (Event.chatCommunity). One with an account on another provider moves to this one. requires chat:write:* |
removeChatMessage staffql onlyinput: ChatMessageRemoveInput! |
ChatMessageRemovePayload |
Removes a message from its chat room. Everyone in the room stops seeing it at once; the console’s transcript keeps it, marked removed, with the reason. requires chat:moderate:mine or chat:moderate:venue |
removeMyChatMessageinput: ChatMessageRemoveOwnInput! |
ChatMessageRemoveOwnPayload |
Removes one of your own messages from its chat room. Everyone in the room stops seeing it at once. requires chat:write:self |
reportChatMessageinput: ChatMessageReportInput! |
ChatMessageReportPayload |
Reports a message in a venue’s or locale’s chat room to the audience’s admins, who see it in the console’s Reports queue at once and can remove it or ban the sender. Optionally blocks the sender too. A post as the venue or as a person can be reported like any other; blocking ignores it, since a listing has no sender to block. Same as reportContent with MESSAGE. requires chat:write:self |
reportSafetyShiftPresence staffql onlyinput: SafetyShiftPresenceReportInput! |
SafetyShiftPresenceReportPayload |
Reports whether this device is inside a venue, for a safety shift that follows the venue’s geofence. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
reviewFlaggedMessage staffql onlyinput: FlaggedMessageReviewInput! |
FlaggedMessageReviewPayload |
Settles a message the AI host flagged in your venue’s room (Venue.flaggedMessages): dismiss it, remove it, warn the sender privately, cool them down for a few minutes, escalate it to the audience’s admins, or ban them from the venue. Messages from the people who run the room can only be dismissed or escalated. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
seeSafetyAlert staffql onlyinput: SafetyAlertSeeInput! |
SafetyAlertSeePayload |
Records that this device opened a safety alert at its venue, so the guest knows someone saw it. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
sendChatMessage staffql onlyinput: ChatMessageSendInput! |
ChatMessageSendPayload |
Posts to a venue’s or a locale’s chat room, as the signed-in admin (STAFF), as the venue (VENUE) or as a person (HOST). Everyone in the room sees it at once. Admins post as any; venue listing managers only as their venue; talent as a person they manage, in the rooms of the venues and locales they’re featured in or host events at (Person.chat.rooms), from anywhere: text, a PHOTO or one of their EVENTs. requires chat:write:mine or chat:write:my_troupes or chat:write:venue |
sendMyChatMessageinput: ChatMessageSendOwnInput! |
ChatMessageSendOwnPayload |
Says something in a chat room as yourself. The message reaches everyone following the room at once. requires chat:write:self or chat:write:venue |
sendPracticeSafetyAlert staffql onlyinput: SafetyAlertPracticeInput! |
SafetyAlertPracticePayload |
Sends a practice safety alert to your venue: the staff on shift hear it, marked as practice, and pick it up and close it as they would a real one. It never escalates, flags or reaches anyone else. While your practice alert there is still open, sending again returns it. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
setChatChannel staffql onlyinput: ChatChannelSetInput! |
ChatChannelSetPayload |
Makes a venue’s or locale’s room one of the chat provider’s channels, e.g. a Discord channel, so the apps send people there. An empty channel clears it, and the room sends people to the invite. requires chat:write:* |
setDiscordApp staffql onlyinput: DiscordAppSetInput! |
DiscordAppSetPayload |
Sets the audience’s own Discord application: its client ID, client secret and bot token (Developer Portal: OAuth2 and Bot), stored encrypted. Omitted or null arguments keep their value; an empty string clears it. Clearing all three goes back to AudienceKit’s bot for the next “Add bot”. requires chat:write:* |
setSafetyShift staffql onlyinput: SafetyShiftSetInput! |
SafetyShiftSetPayload |
Turns this device’s safety alerts at a venue on or off, and sets the first name guests see when it picks one up. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
setUpDiscordApp staffql onlyinput: DiscordAppSetUpInput! |
DiscordAppSetUpPayload |
Sets the audience’s own Discord application’s Interactions Endpoint, Linked Roles Verification and Event Webhooks URLs to the API, and registers its linked roles (member, admin, days a member), through its bot token. Discord checks the endpoints answer before it saves them. requires chat:write:* |
shareSafetyAlertSupport staffql onlyinput: SafetyAlertSupportShareInput! |
SafetyAlertSupportSharePayload |
Shares “Need support?” (crisis and support lines) with the guest who sent a safety alert at your venue, open or closed, with a note if you like. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
startDiscordBotInstall staffql onlyinput: DiscordBotInstallStartInput! |
DiscordBotInstallStartPayload |
Returns Discord’s page for adding the audience’s bot (its own Discord application’s, setDiscordApp, else AudienceKit’s) to its server. Afterwards the browser comes back to returnTo with discord_bot_result=connected, or discord_bot_error. requires chat:write:* |
syncChat staffql onlyinput: ChatSyncInput! |
ChatSyncPayload |
Saves the channels and members the chat bot sees in the audience’s (or a venue’s own) Discord server, and the one it migrated from. requires chat:write:* |
updateChatMessage staffql onlyinput: ChatMessageUpdateInput! |
ChatMessageUpdatePayload |
Edits an announcement or special: its title, its body, or when a special ends. An endsAt of now or earlier ends the special at once. requires chat:write:mine |
verifyChat staffql onlyinput: ChatVerifyInput! |
ChatVerifyPayload |
Checks the audience’s stored chat bot token with its provider, without changing anything there. requires chat:write:* |
Subscriptions
Section titled “Subscriptions”| Operation | Returns | Description |
|---|---|---|
chatModeration staffql onlyafter: ID |
ChatModerationEvent! |
The audience’s moderation feed, for its remote moderation provider: every event after after, then each new one as it happens. requires chat:moderate:* |
chatRooms staffql only |
ChatRoom! |
Follows the audience’s chat rooms, as chat { rooms } lists them: a room, fresh, whenever someone joins or leaves it or its messages change (posted, edited, removed, cleared). Admins hear every room; venue listing managers their own venues. Nothing arrives on subscribing. requires chat:read:mine |
localeChatlocaleId: ID!watch: Boolean |
ChatRoomEvent! |
Follows a locale’s chat room, for people out in the locale and not at a venue: ChatJoined, then everything the room says and who comes and goes, until ChatLeft. The room’s admins join from anywhere. requires chat:read:self |
venueChatvenueId: ID!watch: Boolean |
ChatRoomEvent! |
Follows a venue’s chat room: ChatJoined, then everything the room says and who comes and goes, until ChatLeft. Open to people at the venue, and to the room’s admins from anywhere. requires chat:read:self or chat:read:venue |
Objects
Section titled “Objects”AudienceChatView
Section titled “AudienceChatView”Object · implements IAudienceChat
The local Chat implementation of the chat module’s root lookups.
| Field | Type | Description |
|---|---|---|
account |
ChatAccount |
Its connection to the provider that runs its rooms, e.g. its Discord server. Null on AudienceKit, and for anyone but its admins. requires chat:write:* |
discordApp |
DiscordApp |
Its own Discord application, whose bot “Add bot” adds (setDiscordApp). Admins only. requires chat:write:* |
localeMessages staffql onlyafter: Stringbefore: Stringfirst: IntincludeRemoved: Booleanlast: IntlocaleId: ID! |
LocaleMessageConnection! |
A locale’s chat transcript, newest first. Admins only; talent who can post there (Person.chat.rooms) read its last 24 hours. requires chat:read:mine |
moderation staffql only |
IAudienceChatModeration! |
The instance’s IAudienceChatModeration mixin. Left out of the schema where its module isn’t installed. |
moderationProvidersafter: Stringbefore: Stringfirst: Intlast: Int |
IModerationProviderConnection! |
The chat moderators audiences can use, and what each reads and can do. |
provider |
ChatProvider! |
Who runs its rooms: AudienceKit unless it connected another provider. Apps check inApp before opening a room, and otherwise send people to the room’s url. |
providersafter: Stringbefore: Stringfirst: Intlast: Int |
ChatProviderConnection! |
The chat providers an audience can use, and what each supports. |
roomHosts staffql onlylocaleId: IDvenueId: ID |
[ChatHostChoice!]! |
Who a room’s admins can post as besides themselves and the venue (sendChatMessage asPersonId): the people on its events and lineup tonight, those on now first, then a venue’s regulars. Empty for anyone but the room’s admins. requires chat:read:mine |
rooms staffql onlyafter: Stringbefore: Stringfirst: Intlast: Int |
ChatRoomConnection! |
The audience’s chat rooms, the most recently active first. Admins see every venue and locale; venue listing managers their own venues. requires chat:read:mine |
venueAccounts |
[ChatAccount!]! |
Venues with a chat community of their own (e.g. a venue’s own Discord server), whose rooms go there instead of the audience’s. Admins only. requires chat:write:* |
venueBans staffql onlyafter: Stringbefore: Stringfirst: Intlast: IntvenueId: ID! |
VenueChatBanConnection! |
People banned from a venue (its chat and seeing it), newest first. Admins, and the managers of that venue’s listing, only. requires chat:moderate:mine or chat:moderate:venue |
venueMessages staffql onlyafter: Stringbefore: Stringfirst: IntincludeRemoved: Booleanlast: IntvenueId: ID! |
VenueMessageConnection! |
A venue’s chat transcript, newest first. Admins, and the managers of that venue’s listing, only; talent who can post there (Person.chat.rooms) read its last 24 hours. requires chat:read:mine or chat:read:venue |
BotSender
Section titled “BotSender”Object · implements Sender
Software with a name of its own, like Glam, the AI host. Never a person, so it has no presence and nobody to block.
| Field | Type | Description |
|---|---|---|
avatarUrl |
PhotoURL |
The sender’s avatar: the bot’s art, the venue’s photo, the listing’s or the member’s. Null for the room itself. |
handle |
String! |
Which bot, e.g. glam. Stable across renames. |
kind |
ChatSenderKind! |
Which kind of sender. |
name |
String |
The name the room shows: the bot’s, the venue’s or the listing’s, or a member’s as ChatMessage.name gives it. Null for the room itself. |
ChatAccount
Section titled “ChatAccount”Object
An audience’s connection to the provider that runs its chat rooms, e.g. its Discord server. Its bot token is stored encrypted and never returned.
| Field | Type | Description |
|---|---|---|
audienceBot |
Boolean! |
Whether its bot is the audience’s own Discord application’s (setDiscordApp), added through Discord’s OAuth. |
audiencekitBot |
Boolean! |
Whether its bot is AudienceKit’s own, added through Discord’s OAuth (startDiscordBotInstall), rather than a pasted token. |
botInstallUrl |
String |
A link that adds its bot to its server with the permissions it needs there, to copy or send to the server’s owner. Null for a pasted token. |
botServers |
[DiscordPlace!]! |
The servers the audience’s own bot is in, to pick from. Empty for AudienceKit’s bot, which is in other audiences’ servers too. |
bridge |
Boolean! |
Whether an admin turned the bridge on (connectChat bridge). |
bridged |
Boolean! |
Whether the bot bridges the rooms now: the bridge is on and there’s a bot token. The apps keep their rooms; the lines go both ways, or only come in (readOnly). |
channels |
[ChatChannel!]! |
Its venues’ and locales’ channels. |
eventId |
ID |
The event whose own community it is; null for the audience’s and venues’. |
externalId |
String! |
The community’s ID on the provider, e.g. a Discord server ID. |
hasBotToken |
Boolean! |
Whether it has a bot: a stored token, or AudienceKit’s own bot. |
id |
ID! |
Unique identifier. |
inviteUrl |
String |
The link that lets people into the community. |
lastError |
String |
Why the last check with the provider failed, if it did. |
lastVerifiedAt |
ISO8601DateTime |
When the provider last accepted its token. |
memberCount |
Int! |
How many people (not bots) were in its servers when last saved. |
membersafter: Stringbefore: Stringfirst: Intlast: Intsearch: Stringserver: String |
ChatServerMemberConnection! |
The people (bots last) the bot saw in its servers when last saved, by name. |
migratedBotInstallUrl |
String |
A link that adds its bot to the server it migrated from, to read: View Channels and Read Message History. |
migratedFrom |
String |
The server the community is moving from, which the bot reads too. |
name |
String |
The community’s name on the provider. |
provider |
ChatProvider! |
The provider. |
readOnly |
Boolean! |
Whether the bridge only reads (connectChat readOnly): the provider’s messages come in for signed-in people to read and report, nothing goes out. |
savedChannels |
[ChatServerChannel!]! |
The channels the bot saw in its servers when last saved, in the servers’ order. |
serverChannelsserver: String! |
[DiscordPlace!]! |
A server’s text channels, to pick from: the community’s, the one it migrated from, or one the audience’s own bot is in. |
syncError |
String |
Why the last save of its servers’ channels or members fell short. |
syncedAt |
ISO8601DateTime |
When its servers’ channels and members were last saved. |
venueId |
ID |
The venue whose own community it is; null for the audience’s. |
venueName |
String |
That venue’s name. |
ChatChannel
Section titled “ChatChannel”Object
A venue’s or locale’s room as one of the chat provider’s channels.
| Field | Type | Description |
|---|---|---|
externalId |
String! |
The provider’s channel ID. |
id |
ID! |
Unique identifier. |
localeId |
ID |
The locale whose room it is, or null for a venue. |
migratedChannelId |
String |
The room’s channel in the server the community migrated from, whose messages come in too. |
name |
String |
The channel’s name, as the bot last saw it (Discord). |
url |
String |
Where the apps send people to the room. |
venueId |
ID |
The venue whose room it is, or null for a locale. |
ChatFriend
Section titled “ChatFriend”Object
One of your friends, as a chat room names them.
| Field | Type | Description |
|---|---|---|
name |
String |
Their name in full. |
userId |
ID! |
Their user ID. |
ChatHostChoice
Section titled “ChatHostChoice”Object · staffql only
Someone a room’s admins can post as from the console (sendChatMessage asPersonId, tagged HOST): who hosts in the room tonight, or a regular whose home venue it is.
| Field | Type | Description |
|---|---|---|
endsAt staffql only |
ISO8601DateTime |
When what they are on ends. |
onName staffql only |
String |
What they are on: an event’s name, or tonight’s lineup. Null for a regular. |
onNow staffql only |
Boolean! |
Whether what they are on is on now. |
person staffql only |
Person! |
The person (talent listing). |
startsAt staffql only |
ISO8601DateTime |
When what they are on starts, or when they went on. |
ChatJoined
Section titled “ChatJoined”Object
A chat room’s first event, on joining it: who is there, its recent history and its pinned announcement.
| Field | Type | Description |
|---|---|---|
expiresBefore |
ISO8601DateTime! |
When the room stops showing messages: those sent before it have expired (its chat retention) for everyone but its admins, whose history goes back further. The apps put a divider there between what has cleared and what is current. |
history |
[ChatMessagePosted!]! |
The room’s last 100 messages, oldest first: the last 24 hours of it, or all of it for its admins. Removed messages and people you blocked are left out. |
outOfRange |
Boolean! |
Whether you’re in the room only because you’re an admin, away from it. ChatRangeChanged says when that changes. |
pinnedMessage |
ChatMessagePosted |
The announcement pinned under the room’s title, however old. |
readOnly |
Boolean! |
Whether the room mirrors a provider’s channel (connectChat readOnly): read and report here, reply on the provider (replyUrl). Sending fails. |
replyUrl |
String |
With readOnly: the channel’s page on the provider, to reply there, e.g. a Discord channel link. |
roster |
ChatRoster! |
Who is in the room now, and who’s your friend. |
ChatLeft
Section titled “ChatLeft”Object
A chat room’s last event: you’re out of the room, and the subscription ends.
| Field | Type | Description |
|---|---|---|
reason |
ChatLeftReason! |
Why. |
ChatLineupChanged
Section titled “ChatLineupChanged”Object
Someone hosting as a listing on what’s on in the room arrived or left: the whole lineup’s presence again, replacing ChatRoster.lineup.
| Field | Type | Description |
|---|---|---|
lineup |
[ChatLineupPresence!]! |
Everyone on what’s on in the room now. |
ChatLineupPresence
Section titled “ChatLineupPresence”Object
Someone on what’s on in a chat room now (an event’s people, tonight’s lineup at the venue), and how reachable whoever hosts as them is (see LineupPresence). A listing is public, so everyone in the room sees it.
| Field | Type | Description |
|---|---|---|
personId |
ID! |
The person (listing) on the lineup. |
presence |
Presence! |
ONLINE while anyone hosting as them is in a chat room, PUSH while a notification reaches one of them, else OFFLINE (also for someone nobody has hosted as tonight). |
ChatMessagePosted
Section titled “ChatMessagePosted”Object
A message in a chat room, as it was posted.
| Field | Type | Description |
|---|---|---|
message |
ChatMessage! |
The message. |
senderPresence |
Presence |
ONLINE when its sender is in the room now; PUSH when they aren’t but a notification reaches them, which only their friends and the room’s admins see; otherwise null, as for a post as the venue or a listing. |
ChatMessageRemoval
Section titled “ChatMessageRemoval”Object
Who removed a chat message, when and why. Only transcripts that include removed messages carry it.
| Field | Type | Description |
|---|---|---|
at |
ISO8601DateTime! |
When it was removed. |
byName |
String |
The name of the person who removed it; null when a moderation provider did, or the person is gone. |
bySender |
Boolean! |
Whether the sender took it back themself. |
byUserId |
ID |
The ID of the person who removed it. |
provider |
String |
The name of the moderation provider that removed it, such as “Claude”. |
reason |
String |
Why it was removed, when the remover said; “Room cleared” for a clear. |
ChatMessageRemoved
Section titled “ChatMessageRemoved”Object
A message taken out of the room, by its sender or an admin. Nothing shows it again.
| Field | Type | Description |
|---|---|---|
messageId |
ID! |
The ID of the message. |
ChatMessageUpdated
Section titled “ChatMessageUpdated”Object
A message its sender or an admin edited.
| Field | Type | Description |
|---|---|---|
message |
ChatMessage! |
The message as it is now. |
ChatModerationCaughtUp
Section titled “ChatModerationCaughtUp”Object · staffql only
Every kept event after the cursor a provider subscribed from has been sent; what follows is live. A provider that keeps its cursor can save it from here on.
| Field | Type | Description |
|---|---|---|
cursor staffql only |
ID |
The last event sent, or the cursor it subscribed from if none were. |
ChatModerationFeedGap
Section titled “ChatModerationFeedGap”Object · staffql only
The events after the cursor a provider asked from are no longer kept (ExtensionEvent::RETENTION), so it missed some. What follows starts from the oldest event kept.
| Field | Type | Description |
|---|---|---|
after staffql only |
ID! |
The cursor it asked from. |
ChatModerationGlamHandle
Section titled “ChatModerationGlamHandle”Object · staffql only
A handle Glam’s words mention (“7CE8”), and who it stands for in this provider’s feed.
| Field | Type | Description |
|---|---|---|
handle staffql only |
String! |
Tonight’s handle in the room, as Glam wrote it. |
subject staffql only |
String! |
Who: their handle in this provider’s feed. |
ChatModerationGlamOutput
Section titled “ChatModerationGlamOutput”Object · implements IChatModerationEvent · staffql only
Something Glam’s fast lane did, for Arbiter to review with reviewGlamOutput
. Glam’s words keep tonight’s handles; handles says who each is.
| Field | Type | Description |
|---|---|---|
at staffql only |
ISO8601DateTime! |
When it happened. |
category staffql only |
String |
For a flag: targeting, body_shaming, harassment, doxxing or other. |
cursor staffql only |
ID! |
Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). |
handles staffql only |
[ChatModerationGlamHandle!]! |
The handles its reason and text mention. |
kind staffql only |
GlamOutputKind! |
What it did. |
message staffql only |
ChatModerationLine |
The line that woke it. |
outputId staffql only |
ID! |
What reviewGlamOutput takes. |
posted staffql only |
Boolean! |
Whether it posted a line (a reply or a nudge) that a review can take down. |
reason staffql only |
String |
Glam’s reason, in its words. |
room staffql only |
ChatModerationRoom! |
The room it happened in. |
safetyKind staffql only |
String |
For a safety response: self_harm, medical, drink_spiking, threat or harassment_report. |
subject staffql only |
String |
Who it is about: their handle in this provider’s feed. |
suggestedAction staffql only |
GlamAction |
For a flag: Glam’s suggestion. |
target staffql only |
ChatModerationLine |
The line it is about: replied to or flagged. |
text staffql only |
String |
What it said, for a reply or a nudge. |
ChatModerationLine
Section titled “ChatModerationLine”Object · staffql only
A chat message in the moderation feed, as a provider reads it.
| Field | Type | Description |
|---|---|---|
body staffql only |
String |
A rich message’s own words, without its title. |
kind staffql only |
ChatKind |
What the message is. |
role staffql only |
ChatRole |
The role it was sent with: posts by the venue, a host or staff are the room’s own, and only open to escalate. |
sentAt staffql only |
ISO8601DateTime |
When it was sent. |
subject staffql only |
String! |
Who sent it: their handle in this provider’s feed. |
text staffql only |
String |
What it says, in words, a rich message as one line of text (“Announcement: Coat check” then its words). |
title staffql only |
String |
A rich message’s name, apart from its words: an announcement’s or special’s title, the shared event’s, the song request. |
ChatModerationMessageCreated
Section titled “ChatModerationMessageCreated”Object · implements IChatModerationEvent · staffql only
Someone sent a message.
| Field | Type | Description |
|---|---|---|
at staffql only |
ISO8601DateTime! |
When it happened. |
context staffql only |
[ChatModerationLine!]! |
The earlier lines in the room, oldest first. |
cursor staffql only |
ID! |
Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). |
message staffql only |
ChatModerationLine! |
The message. |
room staffql only |
ChatModerationRoom! |
The room it happened in. |
ChatModerationMessageRemoved
Section titled “ChatModerationMessageRemoved”Object · implements IChatModerationEvent · staffql only
A message was taken out of the room, by its sender, an admin or a provider.
| Field | Type | Description |
|---|---|---|
at staffql only |
ISO8601DateTime! |
When it happened. |
cursor staffql only |
ID! |
Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). |
message staffql only |
ChatModerationLine! |
The message removed. |
room staffql only |
ChatModerationRoom! |
The room it happened in. |
ChatModerationMessageReported
Section titled “ChatModerationMessageReported”Object · implements IChatModerationEvent · staffql only
Someone reported a message to the admins.
| Field | Type | Description |
|---|---|---|
at staffql only |
ISO8601DateTime! |
When it happened. |
cursor staffql only |
ID! |
Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). |
message staffql only |
ChatModerationLine! |
The message reported. |
reason staffql only |
String |
Why, in their words. |
room staffql only |
ChatModerationRoom! |
The room it happened in. |
ChatModerationMutations
Section titled “ChatModerationMutations”Object · staffql only
What the audience’s remote moderation provider does about its feed, signed in with its service token. Each is recorded for the admins (ModerationAction), and none acts on the people who run a room.
| Field | Type | Description |
|---|---|---|
banUser staffql onlyinput: ChatModerationBanUserInput! |
ChatModerationBanUserPayload |
Bans someone from a venue’s room for 24 hours, unless an admin confirms it by banning them too. Not the people who run the room. requires chat:moderate:* |
cooldownUser staffql onlyinput: ChatModerationCooldownUserInput! |
ChatModerationCooldownUserPayload |
Takes someone out of a venue’s room for a few minutes (1 to 30), unless a longer ban holds. Not the people who run the room. requires chat:moderate:* |
crisisResources staffql onlyinput: ChatModerationCrisisResourcesInput! |
ChatModerationCrisisResourcesPayload |
Offers the sender of an event’s message the crisis and support lines, privately. It never touches their message or their account. requires chat:moderate:* |
escalate staffql onlyinput: ChatModerationEscalateInput! |
ChatModerationEscalatePayload |
Puts an event’s message in front of the audience’s admins as a report, with the category and reason. requires chat:moderate:* |
kickUser staffql onlyinput: ChatModerationKickUserInput! |
ChatModerationKickUserPayload |
Takes someone out of a venue’s room; they may come back. Not the people who run the room. requires chat:moderate:* |
notifyVenue staffql onlyinput: ChatModerationNotifyVenueInput! |
ChatModerationNotifyVenuePayload |
Tells the venue’s staff on shift, on their devices, that an event’s message needs a look (a fight, a spiked drink). It opens no case; escalate does. requires chat:moderate:* |
pinMessage staffql onlyinput: ChatModerationPinMessageInput! |
ChatModerationPinMessagePayload |
Pins an event’s message under its room’s title (set times, a lost item), replacing the one pinned there. Venue rooms only. requires chat:moderate:* |
recordAnalysis staffql onlyinput: ChatModerationRecordAnalysisInput! |
ChatModerationRecordAnalysisPayload |
Keeps a run of the AI host on one chat message (MessageAnalysis): its ruling, what was done and its deep analysis, for Arbiter to read anywhere without running a model. The message is a feed event (cursor), or one on the audience’s chat provider (chatProvider and messageId), e.g. a Discord message. Each call is a new run of its configuration, which wins over the earlier ones, unless version names a run to update. A live recordDecision about a message is a run on its own. Nothing is done in the room. requires chat:moderate:* |
recordDecision staffql onlyinput: ChatModerationRecordDecisionInput! |
ChatModerationRecordDecisionPayload |
Keeps what the AI host decided about a message, with everything it read and checked, for the audience’s admins to diagnose (HostDecision). Send it again as it changes (approved, carried out, labelled): the same id updates it. Nothing is done in the room. requires chat:moderate:* |
removeMessage staffql onlyinput: ChatModerationRemoveMessageInput! |
ChatModerationRemoveMessagePayload |
Takes an event’s message out of its room. Not for posts by the people who run the room; escalate those. requires chat:moderate:* |
reviewGlamOutput staffql onlyinput: ChatModerationReviewGlamOutputInput! |
ChatModerationReviewGlamOutputPayload |
Arbiter’s verdict on something Glam’s fast lane did (a glam.output event): confirm, downgrade, overturn or escalate (Glam::Review). Glam only suggests; this is where an action is taken, with the usual guards. Overturns are silent. Anything but confirm is logged as a disagreement. requires chat:moderate:* |
say staffql onlyinput: ChatModerationSayInput! |
ChatModerationSayPayload |
The AI host says something in the room of an event’s message, as the venue under its title (“Glam (AI host)” by default): an answer, a reminder of the guidelines, a welcome. At most once a minute in a room. Venue rooms only. requires chat:moderate:* |
shareCard staffql onlyinput: ChatModerationShareCardInput! |
ChatModerationShareCardPayload |
Share a current event or approved reference URL for clients to render as a card or link. requires chat:moderate:* |
unbanUser staffql onlyinput: ChatModerationUnbanUserInput! |
ChatModerationUnbanUserPayload |
Lifts a ban this provider made from a venue’s room. A ban an admin made or confirmed is theirs. requires chat:moderate:* |
warnUser staffql onlyinput: ChatModerationWarnUserInput! |
ChatModerationWarnUserPayload |
The AI host sends one person a private, kind word (a nudge, a check-in) as a notification only they see. Not the people who run the room. requires chat:moderate:* |
ChatModerationRoom
Section titled “ChatModerationRoom”Object · staffql only
The room an event in the moderation feed happened in.
| Field | Type | Description |
|---|---|---|
id staffql only |
ID! |
The venue’s or locale’s ID. |
kind staffql only |
ChatModerationRoomKind! |
A venue’s room or a locale’s. |
name staffql only |
String |
The venue’s or locale’s name. |
ChatModerationRoomCleared
Section titled “ChatModerationRoomCleared”Object · implements IChatModerationEvent · staffql only
An admin removed every message in the room.
| Field | Type | Description |
|---|---|---|
at staffql only |
ISO8601DateTime! |
When it happened. |
cursor staffql only |
ID! |
Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). |
room staffql only |
ChatModerationRoom! |
The room it happened in. |
ChatModerationUserBanned
Section titled “ChatModerationUserBanned”Object · implements IChatModerationEvent · staffql only
Someone was banned from the room.
| Field | Type | Description |
|---|---|---|
at staffql only |
ISO8601DateTime! |
When it happened. |
cursor staffql only |
ID! |
Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). |
expiresAt staffql only |
ISO8601DateTime |
When a provider’s ban runs out; null for a ban that lasts. |
room staffql only |
ChatModerationRoom! |
The room it happened in. |
subject staffql only |
String! |
Who: their handle in this provider’s feed. |
ChatModerationUserKicked
Section titled “ChatModerationUserKicked”Object · implements IChatModerationEvent · staffql only
Someone was taken out of the room; they may come back.
| Field | Type | Description |
|---|---|---|
at staffql only |
ISO8601DateTime! |
When it happened. |
cursor staffql only |
ID! |
Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). |
room staffql only |
ChatModerationRoom! |
The room it happened in. |
subject staffql only |
String! |
Who: their handle in this provider’s feed. |
ChatModerationUserUnbanned
Section titled “ChatModerationUserUnbanned”Object · implements IChatModerationEvent · staffql only
A ban from the room was lifted.
| Field | Type | Description |
|---|---|---|
at staffql only |
ISO8601DateTime! |
When it happened. |
cursor staffql only |
ID! |
Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). |
room staffql only |
ChatModerationRoom! |
The room it happened in. |
subject staffql only |
String! |
Who: their handle in this provider’s feed. |
ChatPinChanged
Section titled “ChatPinChanged”Object
An announcement pinned under the room’s title, replacing whichever was, or taken down from there.
| Field | Type | Description |
|---|---|---|
announcement |
ChatMessage |
The announcement, when pinned. |
messageId |
ID! |
The ID of the announcement. |
pinned |
Boolean! |
Whether it’s pinned now. |
ChatPresenceChanged
Section titled “ChatPresenceChanged”Object · implements IUserSummary
Someone’s first connection joined the room (ONLINE), or their last one left it
or lapsed. Someone who left shows as PUSH to their friends and the room’s admins
when a notification still reaches them, otherwise OFFLINE, and stays listed
until recentUntil.
| Field | Type | Description |
|---|---|---|
avatarUrl |
PhotoURL |
Their profile photo, on arriving. |
name |
String |
First name and last initial (“Aurora B.”), on arriving; the roster names your friends in full. |
presence |
Presence! |
Where they are now. |
recentUntil |
ISO8601DateTime |
On leaving: the room keeps listing them, offline, until then (30 minutes after they were last there, or when what they host there ends). |
sharedTribes |
[Tag!]! |
The tribes you and they both identify with, for the “You’re both” mark. Only the two of you see it; empty for you and for anyone you share none with. |
userId |
ID! |
Their user ID. |
ChatPrompt
Section titled “ChatPrompt”Object
A short question an event’s chat room puts to the people in it, to get them talking to each other in the venue. Each shows once a night, in order (ChatPrompts).
| Field | Type | Description |
|---|---|---|
answer |
String |
A trivia question’s answer. |
answerCount |
Int! |
How many messages in the room answer it. |
id |
ID! |
The ID of the prompt. |
kind |
ChatPromptKind! |
What it asks. |
position |
Int! |
Its place in the night, from 0. |
revealAt |
ISO8601DateTime |
When a trivia question’s answer shows for everyone. |
shownAs |
ChatPromptShownAs |
How it went up, if it has. |
shownAt |
ISO8601DateTime |
When it went up, if it has. |
takenDown |
Boolean! |
Whether it went up and was taken out of the room since (removeChatPrompt, or a moderator). |
text |
String! |
The question. |
ChatPromptFrame
Section titled “ChatPromptFrame”Object
The prompt a PROMPT message puts to the room, with its place in the night’s prompts.
| Field | Type | Description |
|---|---|---|
answer |
String |
A trivia question’s answer: the apps hide it until tapped or revealAt. |
id |
ID! |
The ID of the prompt; answers send it as promptId. |
kind |
ChatPromptKind! |
What it asks. |
nextAt |
ISO8601DateTime |
When the next rotates in, if one will. |
number |
Int! |
Which prompt of the night it is, from 1. |
revealAt |
ISO8601DateTime |
When the answer shows for everyone. |
shownAs |
ChatPromptShownAs! |
How it went up. |
text |
String! |
The question. |
total |
Int! |
How many the night will show, at most. |
ChatPromptStarterSet
Section titled “ChatPromptStarterSet”Object
A hand-written list of chat prompts staff can start an event from (ChatPrompts::STARTER_SETS).
| Field | Type | Description |
|---|---|---|
file |
JSON! |
It as an audiencekit.chatPrompts file. |
key |
String! |
Its key, for setEventChatPrompts(starterSet:). |
name |
String! |
What it is for (“Viewing party”). |
prompts |
[ChatPrompt!]! |
Its prompts, unsaved. |
ChatProvider
Section titled “ChatProvider”Object · implements IProvider
A chat provider an audience’s rooms can run on (Chat::Provider), and what AudienceKit can do with it: AudienceKit (its own), Discord, Matrix or IRC. Apps offer only what the provider supports.
| Field | Type | Description |
|---|---|---|
bridgeModes |
[String!]! |
How its bridge can run: “on” carries lines both ways, “read” only brings the provider’s in (connectChat readOnly). |
bridges |
Boolean! |
Whether a bot can bridge its rooms with the apps’ own (ChatAccount.bridge). |
channels |
Boolean! |
Whether each venue’s and locale’s room can be one of its channels. |
inApp |
Boolean! |
Whether the rooms run in the apps (the live room subscriptions and sendMyChatMessage). When false, apps send people to the room’s url instead. |
joinTokens |
Boolean! |
Whether members join its rooms with a short-lived room token AudienceKit mints once it has checked they may. |
key |
String! |
Its key, e.g. karafun. |
moderates |
Boolean! |
Whether the moderation feed sees its rooms. |
name |
String! |
Its name, e.g. KaraFun. |
storesMessages |
Boolean! |
Whether AudienceKit holds the rooms’ live state and history itself, rather than the provider carrying them. |
verifies |
Boolean! |
Whether an account’s credentials can be checked with it. |
ChatProviderConnection
Section titled “ChatProviderConnection”Object
The connection type for ChatProvider.
| Field | Type | Description |
|---|---|---|
edges |
[ChatProviderEdge] |
A list of edges. |
nodes |
[ChatProvider] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
ChatProviderEdge
Section titled “ChatProviderEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
ChatProvider |
The item at the end of the edge. |
ChatRangeChanged
Section titled “ChatRangeChanged”Object
An admin crossed the edge of the room: they stay in it either way.
| Field | Type | Description |
|---|---|---|
outOfRange |
Boolean! |
Whether they’re in the room only because they’re an admin, away from it. |
ChatRoom
Section titled “ChatRoom”Object · implements Node
A venue’s or a locale’s chat room, as the console lists them (see ChatRoom).
| Field | Type | Description |
|---|---|---|
id |
ID! |
The venue’s or locale’s ID. |
lastMessage |
String |
The latest message, in words. |
lastMessageAt |
ISO8601DateTime |
When it was sent. |
lastMessageName |
String |
Who sent it, as admins see them. |
locale |
Locale |
The locale, for a locale’s room. |
name |
String |
The venue’s or locale’s name. |
onlineCount |
Int! |
How many people are in the room now. |
recentCount |
Int! |
How many messages were sent in the last 24 hours. |
venue |
Venue |
The venue, for a venue’s room. |
ChatRoomCleared
Section titled “ChatRoomCleared”Object
An admin cleared the room, or its oldest messages expired (its chat retention): every message sent up to then is gone.
| Field | Type | Description |
|---|---|---|
clearedAt |
ISO8601DateTime! |
Messages sent at or before this are removed. |
expired |
Boolean! |
Whether they expired rather than an admin clearing them. Apps keep what was sent after clearedAt, and mark an admin clearing in the room. |
ChatRoomConnection
Section titled “ChatRoomConnection”Object
The connection type for ChatRoom.
| Field | Type | Description |
|---|---|---|
edges |
[ChatRoomEdge] |
A list of edges. |
nodes |
[ChatRoom] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
ChatRoomEdge
Section titled “ChatRoomEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
ChatRoom |
The item at the end of the edge. |
ChatRoster
Section titled “ChatRoster”Object
Who is in a chat room as you join it. ChatPresenceChanged keeps it current afterwards.
| Field | Type | Description |
|---|---|---|
friends |
[ChatFriend!]! |
All your friends, in the room or not, named in full, so a friend who arrives later can be marked and named. |
lineup |
[ChatLineupPresence!]! |
Everyone on what’s on in the room now (its event’s people, tonight’s lineup at the venue), whether or not they have been in it, and how reachable they are. ChatLineupChanged keeps it current. |
people |
[ChatRosterPerson!]! |
Everyone in the room now, you included: your friends first. |
recent |
[ChatRecentPerson!]! |
Who left the room in the last 30 minutes, and the hosts of what’s on there, the latest to leave first. The apps list them offline until recentUntil. |
ChatServerChannel
Section titled “ChatServerChannel”Object
A channel in one of a chat account’s servers, as its bot last saw it (Chat::Discord::Sync).
| Field | Type | Description |
|---|---|---|
externalId |
String! |
The provider’s channel ID. |
id |
ID! |
Unique identifier. |
kind |
Int |
The provider’s channel type (Discord: 0 text, 2 voice, 4 category, 5 announcement). |
name |
String |
Its name on the provider. |
parentExternalId |
String |
The category it sits in. |
position |
Int |
Where the server lists it. |
serverId |
String! |
The provider’s server ID. |
url |
String! |
Where it opens on Discord. |
ChatServerMember
Section titled “ChatServerMember”Object
Someone in one of a chat account’s servers, as its bot last saw them (Chat::Discord::Sync).
| Field | Type | Description |
|---|---|---|
bot |
Boolean! |
Whether it is a bot. |
externalId |
String! |
The provider’s user ID. |
id |
ID! |
Unique identifier. |
joinedAt |
ISO8601DateTime |
When they joined the server. |
name |
String |
The name the server shows: nickname, display name or username. |
roleIds |
[String!]! |
Their roles’ IDs in the server. |
serverId |
String! |
The provider’s server ID. |
userId |
ID |
The AudienceKit user with the same Discord account, if any. |
userName |
String |
That user’s name in AudienceKit. |
username |
String |
Their username on the provider. |
ChatServerMemberConnection
Section titled “ChatServerMemberConnection”Object
The connection type for ChatServerMember.
| Field | Type | Description |
|---|---|---|
edges |
[ChatServerMemberEdge] |
A list of edges. |
nodes |
[ChatServerMember] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
totalCount |
Int! |
How many there are in all, whatever page this is. |
ChatServerMemberEdge
Section titled “ChatServerMemberEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
ChatServerMember |
The item at the end of the edge. |
DiscordApp
Section titled “DiscordApp”Object
The audience’s own Discord application (setDiscordApp), whose bot startDiscordBotInstall adds to its servers so people see the audience’s brand. Its client secret and bot token are stored encrypted and never returned.
| Field | Type | Description |
|---|---|---|
clientId |
String |
The application’s ID (its OAuth2 client ID). |
configured |
Boolean! |
Whether it has a client ID, client secret and bot token, so “Add bot” uses it instead of AudienceKit’s application. |
endpointsSet |
Boolean |
Whether the application on Discord already points its interactions, linked roles and event webhooks at these URLs (asked with its bot token). Null when Discord could not be asked. |
eventWebhooksUrl |
String! |
Webhooks > Endpoint URL: where Discord sends the application’s events, signed with its public key. |
hasBotToken |
Boolean! |
Whether a bot token is stored. |
hasClientSecret |
Boolean! |
Whether a client secret is stored. |
installUrl |
String |
A link that adds the audience’s bot (its own, or AudienceKit’s) to any server, to read; connect the server afterwards. Null without a bot. |
interactionsEndpointUrl |
String! |
General Information > Interactions Endpoint URL: where Discord sends slash commands and other interactions. |
linkedRolesVerificationUrl |
String! |
General Information > Linked Roles Verification URL: where members verify for a linked role. |
publicKey |
String |
General Information > Public Key, which Discord signs the application’s interactions and events with. Not secret. |
redirectUri |
String! |
The address to add to the application’s OAuth2 redirects, where Discord comes back after “Add bot”. |
DiscordPlace
Section titled “DiscordPlace”Object
A Discord server or channel the bot can see, to pick instead of pasting its ID.
| Field | Type | Description |
|---|---|---|
id |
String! |
Discord’s ID for it. |
name |
String |
Its name on Discord. |
EventChatView
Section titled “EventChatView”Object · implements IEventChat
The local Chat implementation of an event’s chat prompts.
| Field | Type | Description |
|---|---|---|
file |
JSON! |
Its prompts and settings as an audiencekit.chatPrompts file, for importChatPrompts. |
idleMinutes |
Int |
How long the room is quiet before a prompt drops in as a card (at most one every 30 minutes); null for never. |
nextPromptAt |
ISO8601DateTime |
When the next prompt rotates in, if one will. |
nightlyCap |
Int! |
At most this many prompts a night. |
pauseDuringActs |
Boolean! |
Whether prompts wait while an act is on stage. |
prompts |
[ChatPrompt!]! |
Its prompts, in the order they show. |
promptsEnabled |
Boolean! |
Whether the room shows its prompts. |
rotateMinutes |
Int |
How often the pinned prompt changes, from when the event starts; null when it doesn’t rotate. |
starterSets |
[ChatPromptStarterSet!]! |
Hand-written lists to start from. |
FlaggedMessage
Section titled “FlaggedMessage”Object · staffql only
A message in a venue’s room that the AI host flagged or ruled something about, for the venue’s staff to settle with reviewFlaggedMessage .
| Field | Type | Description |
|---|---|---|
analyzedAt staffql only |
ISO8601DateTime! |
When the host looked at it. |
category staffql only |
ChatModerationCategory |
The policy category, if any. |
categoryTitle staffql only |
String |
The category in words, e.g. “Drug sales”. |
confidence staffql only |
Float |
How sure the host was, 0 to 1. |
doneActions staffql only |
[FlaggedMessageAction!]! |
What the server already carried out about it (the host removed it, a provider banned the sender), oldest first. |
id staffql only |
ID! |
Its ID (the analysis), for reviewFlaggedMessage. |
messageId staffql only |
ID |
The venue message’s ID; null when AudienceKit has no transcript. |
reason staffql only |
String! |
Why it was flagged, in a line. |
removed staffql only |
Boolean! |
Whether the message is already out of the room. |
review staffql only |
FlaggedMessageAction |
What staff did; null while it waits. |
reviewedAt staffql only |
ISO8601DateTime |
When staff settled it. |
reviewedByName staffql only |
String |
Who settled it: their short name. |
ruling staffql only |
String |
What the host ruled, e.g. private_nudge, ban_proposal. |
senderId staffql only |
ID |
The sender’s user ID. |
senderName staffql only |
String |
The sender as the room shows them (“Aurora B.”). |
senderRunsRoom staffql only |
Boolean! |
The sender runs the room (staff, a manager, the venue): only DISMISS and ESCALATE apply. |
sentAt staffql only |
ISO8601DateTime |
When it was sent. |
suggestedAction staffql only |
FlaggedMessageAction! |
What the host suggests staff do. |
text staffql only |
String |
The message’s words, when AudienceKit has its transcript. |
IModerationProviderConnection
Section titled “IModerationProviderConnection”Object
The connection type for IModerationProvider.
| Field | Type | Description |
|---|---|---|
edges |
[IModerationProviderEdge] |
A list of edges. |
nodes |
[IModerationProvider] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
IModerationProviderEdge
Section titled “IModerationProviderEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
IModerationProvider |
The item at the end of the edge. |
LocaleChatView
Section titled “LocaleChatView”Object · implements ILocaleChat
The local Chat implementation of a locale’s chat room.
| Field | Type | Description |
|---|---|---|
open |
Boolean! |
Whether the signed-in user can join it: they are out in the locale and not at one of its venues, or they are an admin. Apps hide the way in when it is false. |
provider |
ChatProvider! |
Who runs the room: its audience’s chat provider. |
readOnly |
Boolean! |
Whether the room is a read-only mirror of its provider’s channel (a Discord bridge in read mode): anyone signed in reads and reports it from anywhere, nobody posts in it from the apps, and replyUrl is where to reply. |
recentMessagesafter: Stringbefore: Stringfirst: Intlast: Intlimit: Int |
LocaleMessageConnection! |
Its last few lines, oldest first. Empty unless the signed-in user is in the locale (or is an admin), as the room is. Only the last 24 hours, except for admins. |
replyUrl |
String |
Where to reply to a read-only room (readOnly), e.g. its Discord channel. Null otherwise. |
url |
String |
Where the apps send people to the room when its provider doesn’t run it in the apps (provider.inApp false), e.g. its Discord channel, or the server invite when it has none. Null on AudienceKit. |
LocaleMessage
Section titled “LocaleMessage”Object · implements ChatMessage, HasTribes, Node
A message someone sent in a locale’s chat room.
| Field | Type | Description |
|---|---|---|
automatic |
Boolean! |
Whether the server posted it on its own, like an “On now” announcement. |
avatarUrl |
PhotoURL |
The sender’s profile photo, or the venue’s photo for a post as the venue. |
body |
String! |
What they wrote: the text, or a rich message’s body or caption (may be empty). |
endsAt |
ISO8601DateTime |
When a special stops showing. |
event |
Event |
The event an event message shares. |
id |
ID! |
The ID of the message. |
isPrivate |
Boolean! |
Whether only one person sees it: a private nudge from the AI host, which apps show as “Only you can see this”. Nobody else in the room gets it. |
isTest |
Boolean! |
Whether it is a moderation test: a test phrase someone typed, or the AI host’s answer to one (config/moderation/test_phrases.yml). Apps mark it as a test, and reporting it files nothing. |
kind |
ChatKind! |
What the message is. |
member |
AudienceMember |
The sender’s membership in the room’s audience, for kicking or banning them. Admins only; null for anyone else. requires audience:read:* |
message |
String! |
The message as apps that only show text show it: the text, or a rich message in words (“Shared an event: Sunset Social”). |
name |
String |
The sender’s name: in full for themself, their friends and admins; first name and last initial (“Aurora B.”) for anyone else, as the room shows it. The venue’s name for a post as the venue. |
person |
Person |
The talent listing it was posted as, if any. |
photoAlt |
String |
What’s in a photo message’s picture, for screen readers, when its poster said. |
photoUrl |
PhotoURL |
The photo of a photo message or an announcement. |
pinned |
Boolean! |
Whether it’s the announcement pinned under the room’s title. |
postedAsAudience |
Boolean! |
Whether it was posted as the room’s audience, like a prompt: shown with its name and mark, not a person. |
postedAsPerson |
Boolean! |
Whether talent posted it as their listing (role HOST): person is who. |
postedAsVenue |
Boolean! |
Whether it was posted as the venue. |
presence |
Presence! |
Whether they can be reached now: in chat, by push, or neither. OFFLINE unless the viewer is them, a friend of theirs, or an admin. |
prompt |
ChatPromptFrame |
The prompt a PROMPT message puts to the room. |
promptId |
ID |
The prompt a TEXT message answers, if it does. |
removal |
ChatMessageRemoval |
Who removed it and why, for a removed message in a transcript asked with includeRemoved; null while it shows. |
request |
SongRequest |
The song request or karaoke signup a REQUEST message made, with its place in the queue and what became of it. |
role |
ChatRole |
Their role in the room, if any. |
sender |
Sender! |
Who it is from, as apps draw it: the room, a bot, the venue, someone posting as a listing, or a member. Replaces postedAsVenue, postedAsPerson and postedAsAudience. |
sentAt |
ISO8601DateTime! |
When they sent it. |
sharedTribes |
[Tag!]! |
The tribes the signed-in user and they both identify with, for the “You’re both” mark in venue chat (each tag has its bothPhrase). Only ever the two of them see it; empty for the viewer themselves and when signed out. |
title |
String |
An announcement or special’s headline. |
tribes |
[TribeIdentification!]! |
Their tribes here that the signed-in user may see: the ones they share, and public ones only where the audience allows public tribes. All of them for the viewer themselves. |
userId |
ID! |
The ID of the user who sent it. |
LocaleMessageConnection
Section titled “LocaleMessageConnection”Object
The connection type for LocaleMessage.
| Field | Type | Description |
|---|---|---|
edges |
[LocaleMessageEdge] |
A list of edges. |
nodes |
[LocaleMessage] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
LocaleMessageEdge
Section titled “LocaleMessageEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
LocaleMessage |
The item at the end of the edge. |
MemberSender
Section titled “MemberSender”Object · implements Sender
Anyone posting as themself: their own avatar, with presence where the viewer may see it.
| Field | Type | Description |
|---|---|---|
avatarUrl |
PhotoURL |
The sender’s avatar: the bot’s art, the venue’s photo, the listing’s or the member’s. Null for the room itself. |
kind |
ChatSenderKind! |
Which kind of sender. |
name |
String |
The name the room shows: the bot’s, the venue’s or the listing’s, or a member’s as ChatMessage.name gives it. Null for the room itself. |
presence |
Presence! |
Whether they can be reached now: in chat, by push, or neither. OFFLINE unless the viewer is them, a friend of theirs, or an admin. |
role |
ChatRole |
Their role in the room, if any, e.g. STAFF. |
userId |
ID! |
The ID of the user who sent it. |
ModerationAction
Section titled “ModerationAction”Object · staffql only
Something a moderation provider did, as recorded for the audience’s admins.
| Field | Type | Description |
|---|---|---|
action staffql only |
ChatModerationProviderAction! |
What it did. |
category staffql only |
ChatModerationCategory |
The policy category. |
confidence staffql only |
Float |
How sure it was, from 0 to 1. |
createdAt staffql only |
ISO8601DateTime! |
When. |
cursor staffql only |
ID |
The event in the feed it answered, if any. |
id staffql only |
ID! |
Its UUID. |
reason staffql only |
String |
Its reason, in a line. |
subject staffql only |
String |
Who it was about: their handle in this provider’s feed. |
MutationChatView
Section titled “MutationChatView”Object · implements IMutationChat · staffql only
The local implementation of the chat mutations.
| Field | Type | Description |
|---|---|---|
moderation staffql only |
ChatModerationMutations! |
What a moderation provider does about the feed. |
PersonaSender
Section titled “PersonaSender”Object · implements Sender
Someone posting as a listing, like a host as their talent page (Ty posting as Anya): its name and photo with a role badge. Without a People page (a guest host), apps draw a host glyph and link nowhere.
| Field | Type | Description |
|---|---|---|
avatarUrl |
PhotoURL |
The sender’s avatar: the bot’s art, the venue’s photo, the listing’s or the member’s. Null for the room itself. |
hasPage |
Boolean! |
Whether the listing has a People page for the badge to open. |
kind |
ChatSenderKind! |
Which kind of sender. |
name |
String |
The name the room shows: the bot’s, the venue’s or the listing’s, or a member’s as ChatMessage.name gives it. Null for the room itself. |
person |
Person |
The listing it was posted as. |
role |
ChatRole |
The badge after the name, e.g. HOST. |
PersonChatView
Section titled “PersonChatView”Object · implements IPersonChat
The local Chat implementation of the rooms a person can post in.
| Field | Type | Description |
|---|---|---|
roomsafter: Stringbefore: Stringfirst: Intlast: Int |
ChatRoomConnection! |
The rooms they can post in as themself, from anywhere: the venues they’re featured at or host events at and the locales they’re featured in, the most recently active first. Only for admins and those who act as them; empty for anyone else. requires chat:read:mine or chat:read:my_troupes |
SafetyAlert
Section titled “SafetyAlert”Object
An “I feel unsafe” alert a guest sent to the staff on shift at a venue.
| Field | Type | Description |
|---|---|---|
acknowledgedAt |
ISO8601DateTime |
When someone on shift said they are on it. |
acknowledgedByName |
String |
The first name of whoever is on it, as the guest is told. |
closedAt |
ISO8601DateTime |
When it was closed or cancelled. |
concerns |
[SafetyAlertConcern!]! |
What’s going on, as they picked it. |
createdAt |
ISO8601DateTime! |
When it was sent. |
description |
String |
What they wrote, if anything. |
escalatedAt |
ISO8601DateTime |
When it went to the venue’s managers too: nobody picked it up in time, or the guest sent it again. |
event staffql only |
Event |
The event that was on when it was sent. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
flagReasons staffql only |
[SafetyAlertFlagReason!]! |
Why it needs a look. requires audience:moderate:* |
flaggedAt staffql only |
ISO8601DateTime |
When it was put in front of the audience’s team; null when it never was. requires audience:moderate:* |
fromSafetyPoster |
Boolean! |
Sent by scanning the venue’s safety poster. |
hostContext staffql only |
SafetyAlertHostContext |
Why the AI host raised it for the guest (Glam fast lane); null when the guest sent it themselves. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
id |
ID! |
Its UUID. |
messages |
[SafetyAlertMessage!]! |
Its private thread, oldest first. |
outcome staffql only |
SafetyAlertOutcome |
How staff closed it. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
place |
SafetyAlertPlace |
Where in the venue they are. |
practice |
Boolean! |
Staff sent it to rehearse (sendPracticeSafetyAlert); nobody needs help. |
remindedAt |
ISO8601DateTime |
When the guest last sent it again. |
reporter staffql only |
Profile |
Who sent it. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
reviewDecision staffql only |
SafetyAlertReviewDecision |
What the team decided. requires audience:moderate:* |
reviewedAt staffql only |
ISO8601DateTime |
When the team decided. requires audience:moderate:* |
reviewedBy staffql only |
Profile |
Who on the team decided. requires audience:moderate:* |
seen |
Boolean! |
Whether anyone on shift has opened it. |
seenByMe staffql only |
Boolean! |
Whether this device or session has opened it (seeSafetyAlert). requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
staffNote staffql only |
String |
What staff noted when they closed it. requires chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
state |
SafetyAlertState! |
Where it stands. |
summary |
String! |
One line: where, then what (“Dance floor · Someone’s bothering them”). |
supportNote |
String |
What staff wrote when they shared support. |
supportSharedAt |
ISO8601DateTime |
When staff shared “Need support?” with the guest. |
venue |
Venue! |
Where it was sent. |
withoutAccount |
Boolean! |
Sent from the safety poster by someone without the app: there is no reporter to see, push or block, and their thread name is “Guest (no app)”. |
SafetyAlertHostContext
Section titled “SafetyAlertHostContext”Object · staffql only
Why the AI host raised this alert: what kind of help, its reason, and the chat line it acted on.
| Field | Type | Description |
|---|---|---|
kind staffql only |
String! |
medical, drink_spiking, threat or harassment_report. |
messageId staffql only |
ID |
The chat line it acted on. |
messageSentAt staffql only |
ISO8601DateTime |
When that line was sent. |
messageText staffql only |
String |
What that line said, unless it has since been removed. |
reason staffql only |
String |
The AI host’s reason, with names as the room shows them. |
SafetyAlertMessage
Section titled “SafetyAlertMessage”Object
A message in a safety alert’s private thread, between the guest and the staff on shift.
| Field | Type | Description |
|---|---|---|
body |
String! |
What it says. |
createdAt |
ISO8601DateTime! |
When it was sent. |
fromStaff |
Boolean! |
Whether staff sent it; otherwise the guest did. |
id |
ID! |
Its UUID. |
senderName |
String! |
Who sent it: the guest’s name, or the staff member’s first name. |
SystemSender
Section titled “SystemSender”Object · implements Sender
The room itself, like a prompt: drawn as a centred line with no avatar.
| Field | Type | Description |
|---|---|---|
avatarUrl |
PhotoURL |
The sender’s avatar: the bot’s art, the venue’s photo, the listing’s or the member’s. Null for the room itself. |
kind |
ChatSenderKind! |
Which kind of sender. |
name |
String |
The name the room shows: the bot’s, the venue’s or the listing’s, or a member’s as ChatMessage.name gives it. Null for the room itself. |
VenueChatBanConnection
Section titled “VenueChatBanConnection”Object · staffql only
The connection type for VenueChatBan.
| Field | Type | Description |
|---|---|---|
edges staffql only |
[VenueChatBanEdge] |
A list of edges. |
nodes staffql only |
[VenueChatBan] |
A list of nodes. |
pageInfo staffql only |
PageInfo! |
Information to aid in pagination. |
VenueChatBanEdge
Section titled “VenueChatBanEdge”Object · staffql only
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor staffql only |
String! |
A cursor for use in pagination. |
node staffql only |
VenueChatBan |
The item at the end of the edge. |
VenueChatView
Section titled “VenueChatView”Object · implements IVenueChat
The local Chat implementation of a venue’s chat room.
| Field | Type | Description |
|---|---|---|
open |
Boolean! |
Whether the signed-in user can join it: they are here, or they are an admin. Apps hide the way in when it is false. |
pinnedMessage |
VenueMessage |
The announcement pinned under its title, however old. For whoever can read the room and its managers; null for anyone else. |
provider |
ChatProvider! |
Who runs the room: its audience’s chat provider. |
readOnly |
Boolean! |
Whether the room is a read-only mirror of its provider’s channel (a Discord bridge in read mode): anyone signed in reads and reports it from anywhere, nobody posts in it from the apps, and replyUrl is where to reply. |
recentMessagesafter: Stringbefore: Stringfirst: Intlast: Intlimit: Int |
VenueMessageConnection! |
Its last few lines, oldest first. Empty unless the signed-in user is at the venue (or is an admin), as the room is. Only the last 24 hours, except for admins. |
replyUrl |
String |
Where to reply to a read-only room (readOnly), e.g. its Discord channel. Null otherwise. |
url |
String |
Where the apps send people to the room when its provider doesn’t run it in the apps (provider.inApp false), e.g. its Discord channel, or the server invite when it has none. Null on AudienceKit. |
VenueMessage
Section titled “VenueMessage”Object · implements ChatMessage, HasTribes, Node
A message someone sent in a venue’s chat room.
| Field | Type | Description |
|---|---|---|
automatic |
Boolean! |
Whether the server posted it on its own, like an “On now” announcement. |
avatarUrl |
PhotoURL |
The sender’s profile photo, or the venue’s photo for a post as the venue. |
body |
String! |
What they wrote: the text, or a rich message’s body or caption (may be empty). |
endsAt |
ISO8601DateTime |
When a special stops showing. |
event |
Event |
The event an event message shares. |
id |
ID! |
The ID of the message. |
isPrivate |
Boolean! |
Whether only one person sees it: a private nudge from the AI host, which apps show as “Only you can see this”. Nobody else in the room gets it. |
isTest |
Boolean! |
Whether it is a moderation test: a test phrase someone typed, or the AI host’s answer to one (config/moderation/test_phrases.yml). Apps mark it as a test, and reporting it files nothing. |
kind |
ChatKind! |
What the message is. |
member |
AudienceMember |
The sender’s membership in the room’s audience, for kicking or banning them. Admins only; null for anyone else. requires audience:read:* |
message |
String! |
The message as apps that only show text show it: the text, or a rich message in words (“Shared an event: Sunset Social”). |
name |
String |
The sender’s name: in full for themself, their friends and admins; first name and last initial (“Aurora B.”) for anyone else, as the room shows it. The venue’s name for a post as the venue. |
person |
Person |
The talent listing it was posted as, if any. |
photoAlt |
String |
What’s in a photo message’s picture, for screen readers, when its poster said. |
photoUrl |
PhotoURL |
The photo of a photo message or an announcement. |
pinned |
Boolean! |
Whether it’s the announcement pinned under the room’s title. |
postedAsAudience |
Boolean! |
Whether it was posted as the room’s audience, like a prompt: shown with its name and mark, not a person. |
postedAsPerson |
Boolean! |
Whether talent posted it as their listing (role HOST): person is who. |
postedAsVenue |
Boolean! |
Whether it was posted as the venue. |
presence |
Presence! |
Whether they can be reached now: in chat, by push, or neither. OFFLINE unless the viewer is them, a friend of theirs, or an admin. |
prompt |
ChatPromptFrame |
The prompt a PROMPT message puts to the room. |
promptId |
ID |
The prompt a TEXT message answers, if it does. |
removal |
ChatMessageRemoval |
Who removed it and why, for a removed message in a transcript asked with includeRemoved; null while it shows. |
request |
SongRequest |
The song request or karaoke signup a REQUEST message made, with its place in the queue and what became of it. |
role |
ChatRole |
Their role in the room, if any. |
sender |
Sender! |
Who it is from, as apps draw it: the room, a bot, the venue, someone posting as a listing, or a member. Replaces postedAsVenue, postedAsPerson and postedAsAudience. |
sentAt |
ISO8601DateTime! |
When they sent it. |
sharedTribes |
[Tag!]! |
The tribes the signed-in user and they both identify with, for the “You’re both” mark in venue chat (each tag has its bothPhrase). Only ever the two of them see it; empty for the viewer themselves and when signed out. |
title |
String |
An announcement or special’s headline. |
tribes |
[TribeIdentification!]! |
Their tribes here that the signed-in user may see: the ones they share, and public ones only where the audience allows public tribes. All of them for the viewer themselves. |
userId |
ID! |
The ID of the user who sent it. |
VenueMessageConnection
Section titled “VenueMessageConnection”Object
The connection type for VenueMessage.
| Field | Type | Description |
|---|---|---|
edges |
[VenueMessageEdge] |
A list of edges. |
nodes |
[VenueMessage] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
VenueMessageEdge
Section titled “VenueMessageEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
VenueMessage |
The item at the end of the edge. |
VenueSender
Section titled “VenueSender”Object · implements Sender
Someone on staff posting as the venue: its name and photo, never theirs.
| Field | Type | Description |
|---|---|---|
avatarUrl |
PhotoURL |
The sender’s avatar: the bot’s art, the venue’s photo, the listing’s or the member’s. Null for the room itself. |
kind |
ChatSenderKind! |
Which kind of sender. |
name |
String |
The name the room shows: the bot’s, the venue’s or the listing’s, or a member’s as ChatMessage.name gives it. Null for the room itself. |
venue |
Venue |
The venue it was posted as. |
Mutation payloads
Section titled “Mutation payloads”ChatChannelSetPayload
Section titled “ChatChannelSetPayload”Object · staffql only
Autogenerated return type of ChatChannelSet.
| Field | Type | Description |
|---|---|---|
channel staffql only |
ChatChannel |
The channel, or null once cleared. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatConnectPayload
Section titled “ChatConnectPayload”Object · staffql only
Autogenerated return type of ChatConnect.
| Field | Type | Description |
|---|---|---|
account staffql only |
ChatAccount! |
The connection, after the change. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatDisconnectPayload
Section titled “ChatDisconnectPayload”Object · staffql only
Autogenerated return type of ChatDisconnect.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
provider staffql only |
ChatProvider! |
The audience’s provider, after the change. |
ChatLinkPromotePayload
Section titled “ChatLinkPromotePayload”Object · staffql only
Autogenerated return type of ChatLinkPromote.
| Field | Type | Description |
|---|---|---|
account staffql only |
ChatAccount! |
The venue’s or event’s chat account. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatMessagePinPayload
Section titled “ChatMessagePinPayload”Object · staffql only
Autogenerated return type of ChatMessagePin.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
localeMessage staffql only |
LocaleMessage |
The message, in a locale’s room. |
venueMessage staffql only |
VenueMessage |
The message, in a venue’s room. |
ChatMessageRemoveOwnPayload
Section titled “ChatMessageRemoveOwnPayload”Object
Autogenerated return type of ChatMessageRemoveOwn.
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
deletedId |
ID! |
The ID of the message removed. |
ChatMessageRemovePayload
Section titled “ChatMessageRemovePayload”Object · staffql only
Autogenerated return type of ChatMessageRemove.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
deletedId staffql only |
ID! |
The ID of the message removed. |
ChatMessageReportPayload
Section titled “ChatMessageReportPayload”Object
Autogenerated return type of ChatMessageReport.
| Field | Type | Description |
|---|---|---|
blocked |
Boolean! |
Whether the person responsible is now blocked. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
reported |
Boolean! |
Whether the report was filed. |
test |
Boolean! |
Whether it was a test report: it went through every check but filed nothing and blocked nobody, so it never reaches the moderators’ queue. |
ChatMessageSendOwnPayload
Section titled “ChatMessageSendOwnPayload”Object
Autogenerated return type of ChatMessageSendOwn.
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
message |
ChatMessage! |
The message, as the room sees it. |
ChatMessageSendPayload
Section titled “ChatMessageSendPayload”Object · staffql only
Autogenerated return type of ChatMessageSend.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
localeMessage staffql only |
LocaleMessage |
The message, in a locale’s room. |
venueMessage staffql only |
VenueMessage |
The message, in a venue’s room. |
ChatMessageUpdatePayload
Section titled “ChatMessageUpdatePayload”Object · staffql only
Autogenerated return type of ChatMessageUpdate.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
localeMessage staffql only |
LocaleMessage |
The message, in a locale’s room. |
venueMessage staffql only |
VenueMessage |
The message, in a venue’s room. |
ChatModerationBanUserPayload
Section titled “ChatModerationBanUserPayload”Object · staffql only
Autogenerated return type of ChatModerationBanUser.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationCooldownUserPayload
Section titled “ChatModerationCooldownUserPayload”Object · staffql only
Autogenerated return type of ChatModerationCooldownUser.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationCrisisResourcesPayload
Section titled “ChatModerationCrisisResourcesPayload”Object · staffql only
Autogenerated return type of ChatModerationCrisisResources.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationEscalatePayload
Section titled “ChatModerationEscalatePayload”Object · staffql only
Autogenerated return type of ChatModerationEscalate.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationKickUserPayload
Section titled “ChatModerationKickUserPayload”Object · staffql only
Autogenerated return type of ChatModerationKickUser.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationNotifyVenuePayload
Section titled “ChatModerationNotifyVenuePayload”Object · staffql only
Autogenerated return type of ChatModerationNotifyVenue.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationPinMessagePayload
Section titled “ChatModerationPinMessagePayload”Object · staffql only
Autogenerated return type of ChatModerationPinMessage.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationRecordAnalysisPayload
Section titled “ChatModerationRecordAnalysisPayload”Object · staffql only
Autogenerated return type of ChatModerationRecordAnalysis.
| Field | Type | Description |
|---|---|---|
analysis staffql only |
MessageAnalysis! |
What was kept. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationRecordDecisionPayload
Section titled “ChatModerationRecordDecisionPayload”Object · staffql only
Autogenerated return type of ChatModerationRecordDecision.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
decision staffql only |
HostDecision! |
What was kept. |
ChatModerationRemoveMessagePayload
Section titled “ChatModerationRemoveMessagePayload”Object · staffql only
Autogenerated return type of ChatModerationRemoveMessage.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationReviewGlamOutputPayload
Section titled “ChatModerationReviewGlamOutputPayload”Object · staffql only
Autogenerated return type of ChatModerationReviewGlamOutput.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationSayPayload
Section titled “ChatModerationSayPayload”Object · staffql only
Autogenerated return type of ChatModerationSay.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationShareCardPayload
Section titled “ChatModerationShareCardPayload”Object · staffql only
Autogenerated return type of ChatModerationShareCard.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationUnbanUserPayload
Section titled “ChatModerationUnbanUserPayload”Object · staffql only
Autogenerated return type of ChatModerationUnbanUser.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatModerationWarnUserPayload
Section titled “ChatModerationWarnUserPayload”Object · staffql only
Autogenerated return type of ChatModerationWarnUser.
| Field | Type | Description |
|---|---|---|
action staffql only |
ModerationAction! |
What was recorded. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatRoomClearPayload
Section titled “ChatRoomClearPayload”Object · staffql only
Autogenerated return type of ChatRoomClear.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
removedCount staffql only |
Int! |
How many messages were removed. |
ChatSyncPayload
Section titled “ChatSyncPayload”Object · staffql only
Autogenerated return type of ChatSync.
| Field | Type | Description |
|---|---|---|
account staffql only |
ChatAccount! |
The account, with what was saved. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
ChatVerifyPayload
Section titled “ChatVerifyPayload”Object · staffql only
Autogenerated return type of ChatVerify.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
message staffql only |
String! |
What the provider said, for the admin. |
ok staffql only |
Boolean! |
Whether the provider accepted the token. |
DiscordAppSetPayload
Section titled “DiscordAppSetPayload”Object · staffql only
Autogenerated return type of DiscordAppSet.
| Field | Type | Description |
|---|---|---|
botName staffql only |
String |
The bot’s name on Discord, once its token checks out. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
discordApp staffql only |
DiscordApp! |
The application, after the change. |
DiscordAppSetUpPayload
Section titled “DiscordAppSetUpPayload”Object · staffql only
Autogenerated return type of DiscordAppSetUp.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
discordApp staffql only |
DiscordApp! |
The application. |
DiscordBotInstallStartPayload
Section titled “DiscordBotInstallStartPayload”Object · staffql only
Autogenerated return type of DiscordBotInstallStart.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
configured staffql only |
Boolean! |
Whether there’s a bot to add: the audience’s own application, or AudienceKit’s. |
url staffql only |
String |
Discord’s authorize page, to open in the browser. |
FlaggedMessageReviewPayload
Section titled “FlaggedMessageReviewPayload”Object · staffql only
Autogenerated return type of FlaggedMessageReview.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
flaggedMessage staffql only |
FlaggedMessage! |
It, as it now stands. |
SafetyAlertAcknowledgePayload
Section titled “SafetyAlertAcknowledgePayload”Object · staffql only
Autogenerated return type of SafetyAlertAcknowledge.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
safetyAlert staffql only |
SafetyAlert |
The alert as it now stands. |
SafetyAlertClosePayload
Section titled “SafetyAlertClosePayload”Object · staffql only
Autogenerated return type of SafetyAlertClose.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
safetyAlert staffql only |
SafetyAlert |
The alert as it now stands. |
SafetyAlertPracticePayload
Section titled “SafetyAlertPracticePayload”Object · staffql only
Autogenerated return type of SafetyAlertPractice.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
safetyAlert staffql only |
SafetyAlert |
The alert as it now stands. |
SafetyAlertSeePayload
Section titled “SafetyAlertSeePayload”Object · staffql only
Autogenerated return type of SafetyAlertSee.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
safetyAlert staffql only |
SafetyAlert |
The alert as it now stands. |
SafetyAlertSupportSharePayload
Section titled “SafetyAlertSupportSharePayload”Object · staffql only
Autogenerated return type of SafetyAlertSupportShare.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
safetyAlert staffql only |
SafetyAlert |
The alert as it now stands. |
SafetyShiftPresenceReportPayload
Section titled “SafetyShiftPresenceReportPayload”Object · staffql only
Autogenerated return type of SafetyShiftPresenceReport.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venue staffql only |
Venue! |
The venue, with its safetyShift as it now stands. |
SafetyShiftSetPayload
Section titled “SafetyShiftSetPayload”Object · staffql only
Autogenerated return type of SafetyShiftSet.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venue staffql only |
Venue! |
The venue, with its safetyShift as it now stands. |
VenueChatModeratePayload
Section titled “VenueChatModeratePayload”Object · staffql only
Autogenerated return type of VenueChatModerate.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
userId staffql only |
ID! |
The user UUID. |
Inputs
Section titled “Inputs”ChatChannelSetInput
Section titled “ChatChannelSetInput”Input · staffql only
Autogenerated input type of ChatChannelSet
| Field | Type | Description |
|---|---|---|
channel staffql only |
String! |
The channel’s ID, or a link to it. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
localeId staffql only |
ID |
The locale whose room it is (or venueId). |
migratedChannel staffql only |
String |
The room’s channel in the server the community migrated from (connectChat migratedFrom), whose messages come in too. Omitted keeps it; an empty string clears it. |
venueId staffql only |
ID |
The venue whose room it is (or localeId). |
ChatConnectInput
Section titled “ChatConnectInput”Input · staffql only
Autogenerated input type of ChatConnect
| Field | Type | Description |
|---|---|---|
botToken staffql only |
String |
The provider’s bot token, e.g. from the Discord Developer Portal (Bot > Token). |
bridge staffql only |
Boolean |
Whether the bot bridges the rooms: the apps keep their rooms and each room’s lines go both ways with its channel. Needs a bot token and a provider that bridges (ChatProvider.bridges). |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
community staffql only |
String |
The community on the provider: a Discord server’s ID, or a link into it. Required when connecting. |
homeserver staffql only |
String |
Matrix only: the homeserver the bot’s account is on (its address, e.g. matrix.example.org); left out, the community’s own server. An empty string clears it. |
inviteUrl staffql only |
String |
The link that lets people into the community, e.g. https://discord.gg/abc. |
migratedFrom staffql only |
String |
The server the community is moving from (its ID, or a link into it), where the bot is too: each room’s old channel (setChatChannel migratedChannel) comes into the room as well, and is copied into the new channel. An empty string clears it. |
provider staffql only |
String! |
The provider, e.g. discord. |
readOnly staffql only |
Boolean |
With the bridge: only bring the provider’s messages in, for signed-in people to read and report in the apps, and send nothing out (people reply on the provider). The bot then needs only View Channels and Read Message History. |
venueId staffql only |
ID |
A venue with a community of its own (e.g. its own Discord server): its room goes there instead of the audience’s. Left out for the audience’s. |
ChatDisconnectInput
Section titled “ChatDisconnectInput”Input · staffql only
Autogenerated input type of ChatDisconnect
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venueId staffql only |
ID |
A venue’s own community: its room goes back to the audience’s chat. |
ChatLinkPromoteInput
Section titled “ChatLinkPromoteInput”Input · staffql only
Autogenerated input type of ChatLinkPromote
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
socialLinkId staffql only |
ID! |
The venue’s or event’s chat link (SocialLink.id). |
ChatMessagePinInput
Section titled “ChatMessagePinInput”Input · staffql only
Autogenerated input type of ChatMessagePin
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The ID of the venue or locale message. |
pinned staffql only |
Boolean! |
Pin it (true) or unpin it (false). |
ChatMessageRemoveInput
Section titled “ChatMessageRemoveInput”Input · staffql only
Autogenerated input type of ChatMessageRemove
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The ID of the venue or locale message. |
reason staffql only |
String |
Why it was removed, such as the term it broke. Only the console shows it. |
ChatMessageRemoveOwnInput
Section titled “ChatMessageRemoveOwnInput”Input
Autogenerated input type of ChatMessageRemoveOwn
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
messageId |
ID! |
The message: a chat frame’s id. |
ChatMessageReportInput
Section titled “ChatMessageReportInput”Input
Autogenerated input type of ChatMessageReport
| Field | Type | Description |
|---|---|---|
block |
Boolean |
Also block the sender. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
messageId |
ID! |
The message: a chat frame’s id. |
reason |
String |
What’s wrong with it. |
test |
Boolean |
A test report (the apps’ Send test report): checked like any other, but nothing is filed and nobody is blocked. A moderation test phrase’s line (isTest) is always reported as a test, and may be your own. |
ChatMessageSendInput
Section titled “ChatMessageSendInput”Input · staffql only
Autogenerated input type of ChatMessageSend
| Field | Type | Description |
|---|---|---|
asPersonId staffql only |
ID |
Post as this person (talent), with their name and photo and the HOST role. |
asVenue staffql only |
Boolean |
Post as the venue, with its name and photo. Venue rooms only. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
endsAt staffql only |
ISO8601DateTime |
When a SPECIAL stops showing. Required for one. |
eventId staffql only |
ID |
The event an EVENT message shares. |
kind staffql only |
ChatKind |
What to post. |
localeId staffql only |
ID |
The locale whose room to post in (or venueId). |
message staffql only |
String |
The text, or the body or caption of a rich message. |
photo staffql only |
String |
A PHOTO message’s photo, or an announcement’s: an image URL, or an image uploaded as a data: URI. |
pinned staffql only |
Boolean |
Pin an ANNOUNCEMENT under the room’s title, replacing the pinned one. |
title staffql only |
String |
An ANNOUNCEMENT or SPECIAL’s headline. |
venueId staffql only |
ID |
The venue whose room to post in (or localeId). |
ChatMessageSendOwnInput
Section titled “ChatMessageSendOwnInput”Input
Autogenerated input type of ChatMessageSendOwn
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
localeId |
ID |
A locale’s room. |
message |
String! |
What you typed (up to 1,000 characters). |
promptId |
ID |
The prompt it answers (a PROMPT message’s prompt), in a venue’s room. |
venueId |
ID |
A venue’s room. |
ChatMessageUpdateInput
Section titled “ChatMessageUpdateInput”Input · staffql only
Autogenerated input type of ChatMessageUpdate
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
endsAt staffql only |
ISO8601DateTime |
When a special stops showing. |
id staffql only |
ID! |
The ID of the venue or locale message. |
message staffql only |
String |
The body. |
title staffql only |
String |
The headline. |
ChatModerationBanUserInput
Section titled “ChatModerationBanUserInput”Input · staffql only
Autogenerated input type of ChatModerationBanUser
| Field | Type | Description |
|---|---|---|
category staffql only |
ChatModerationCategory! |
The policy category. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
reason staffql only |
String |
Why, in a line, for the admins. |
subject staffql only |
ID! |
Who: their handle in this provider’s feed. |
venueId staffql only |
ID! |
The venue whose room (the room id on its events). |
ChatModerationCooldownUserInput
Section titled “ChatModerationCooldownUserInput”Input · staffql only
Autogenerated input type of ChatModerationCooldownUser
| Field | Type | Description |
|---|---|---|
category staffql only |
ChatModerationCategory! |
The policy category. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
minutes staffql only |
Int! |
How long. |
reason staffql only |
String |
Why, in a line, for the admins. |
subject staffql only |
ID! |
Who: their handle in this provider’s feed. |
venueId staffql only |
ID! |
The venue whose room (the room id on its events). |
ChatModerationCrisisResourcesInput
Section titled “ChatModerationCrisisResourcesInput”Input · staffql only
Autogenerated input type of ChatModerationCrisisResources
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
cursor staffql only |
ID! |
The event whose sender to offer support. |
reason staffql only |
String |
Why, in a line, for the admins. |
ChatModerationEscalateInput
Section titled “ChatModerationEscalateInput”Input · staffql only
Autogenerated input type of ChatModerationEscalate
| Field | Type | Description |
|---|---|---|
category staffql only |
ChatModerationCategory! |
The policy category. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
cursor staffql only |
ID! |
The event whose message to escalate. |
reason staffql only |
String |
Why, in a line, for the admins. |
ChatModerationKickUserInput
Section titled “ChatModerationKickUserInput”Input · staffql only
Autogenerated input type of ChatModerationKickUser
| Field | Type | Description |
|---|---|---|
category staffql only |
ChatModerationCategory! |
The policy category. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
reason staffql only |
String |
Why, in a line, for the admins. |
subject staffql only |
ID! |
Who: their handle in this provider’s feed. |
venueId staffql only |
ID! |
The venue whose room (the room id on its events). |
ChatModerationNotifyVenueInput
Section titled “ChatModerationNotifyVenueInput”Input · staffql only
Autogenerated input type of ChatModerationNotifyVenue
| Field | Type | Description |
|---|---|---|
category staffql only |
ChatModerationCategory! |
The policy category. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
cursor staffql only |
ID! |
The event whose message staff should see. |
reason staffql only |
String |
Why, in a line, for the admins. |
ChatModerationPinMessageInput
Section titled “ChatModerationPinMessageInput”Input · staffql only
Autogenerated input type of ChatModerationPinMessage
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
cursor staffql only |
ID! |
The event whose message to pin. |
reason staffql only |
String |
Why, in a line, for the admins. |
ChatModerationRecordAnalysisInput
Section titled “ChatModerationRecordAnalysisInput”Input · staffql only
Autogenerated input type of ChatModerationRecordAnalysis
| Field | Type | Description |
|---|---|---|
actions staffql only |
JSON |
What the host did or proposed, in order, each { action, label, state, category, error, punitive, at }. |
analysis staffql only |
JSON |
The deep analysis, in the shape shapeVersion names, up to 256 KB. No chat text or names: send handles. |
category staffql only |
ChatModerationCategory |
The policy category of the ruling. |
chatProvider staffql only |
String |
The chat provider, with messageId. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the host was, 0 to 1. |
configuration staffql only |
String |
The settings it ran with: left out or null for the default, or a named variant (up to 100 characters). |
cursor staffql only |
ID |
The feed event whose message it is. |
decisionId staffql only |
String |
The host’s own ID for the call (recordDecision); its run is updated when it has one. |
executionState staffql only |
String |
shadow, not_run, awaiting, done, partial, failed or dismissed. |
flagged staffql only |
Boolean |
A guard or rule check flagged it. |
messageId staffql only |
String |
The message’s ID on the chat provider. |
roomId staffql only |
String |
The room, with messageId: a venue or locale ID. |
roomKind staffql only |
String |
venue or locale. |
ruling staffql only |
String |
What the host ruled, e.g. no_action, private_nudge. |
shapeVersion staffql only |
Int |
The shape of analysis; 1 when left out. |
version staffql only |
Int |
A run of this configuration to update; left out, this is a new run. |
ChatModerationRecordDecisionInput
Section titled “ChatModerationRecordDecisionInput”Input · staffql only
Autogenerated input type of ChatModerationRecordDecision
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
trace staffql only |
JSON! |
The decision as the host keeps it (a Glam proposal), with its own id, up to 512 KB. |
ChatModerationRemoveMessageInput
Section titled “ChatModerationRemoveMessageInput”Input · staffql only
Autogenerated input type of ChatModerationRemoveMessage
| Field | Type | Description |
|---|---|---|
category staffql only |
ChatModerationCategory! |
The policy category. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
cursor staffql only |
ID! |
The event whose message to remove. |
reason staffql only |
String |
Why, in a line, for the admins. |
ChatModerationReviewGlamOutputInput
Section titled “ChatModerationReviewGlamOutputInput”Input · staffql only
Autogenerated input type of ChatModerationReviewGlamOutput
| Field | Type | Description |
|---|---|---|
action staffql only |
GlamAction |
The action to take instead of the suggested one (required for a downgrade). |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
outcome staffql only |
GlamReviewOutcome! |
The verdict. |
outputId staffql only |
ID! |
The event’s outputId. |
reason staffql only |
String |
Why, in a line, for the disagreement log. |
retract staffql only |
Boolean |
With overturn: take down the reply Glam posted, when it treated someone as the bad actor. A nudge is always taken down. |
ChatModerationSayInput
Section titled “ChatModerationSayInput”Input · staffql only
Autogenerated input type of ChatModerationSay
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
cursor staffql only |
ID! |
The event whose room to speak in. |
purpose staffql only |
String |
conversation, direct_reply or safety. Defaults to conversation. |
reason staffql only |
String |
Why, in a line, for the admins. |
text staffql only |
String! |
What it says, up to 280 characters. Write {{name:<subject>}} to name someone in the feed: the server puts in the short name the room shows (“Aurora B.”). |
ChatModerationShareCardInput
Section titled “ChatModerationShareCardInput”Input · staffql only
Autogenerated input type of ChatModerationShareCard
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
Confidence from zero to one. |
cursor staffql only |
ID! |
The feed event whose room receives the card. |
purpose staffql only |
String |
conversation, direct_reply or safety. |
reason staffql only |
String |
Why this card helps, for staff. |
url staffql only |
String! |
An approved HTTPS card_url returned by a lookup. |
ChatModerationUnbanUserInput
Section titled “ChatModerationUnbanUserInput”Input · staffql only
Autogenerated input type of ChatModerationUnbanUser
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
reason staffql only |
String |
Why, in a line, for the admins. |
subject staffql only |
ID! |
Who: their handle in this provider’s feed. |
venueId staffql only |
ID! |
The venue whose room. |
ChatModerationWarnUserInput
Section titled “ChatModerationWarnUserInput”Input · staffql only
Autogenerated input type of ChatModerationWarnUser
| Field | Type | Description |
|---|---|---|
category staffql only |
ChatModerationCategory |
The policy category, if any. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
confidence staffql only |
Float |
How sure the provider is, from 0 to 1. |
cursor staffql only |
ID |
The event whose message it answers; then subject must be its sender. |
purpose staffql only |
String |
conversation, direct_reply or safety; a safety nudge is quiet. |
reason staffql only |
String |
Why, in a line, for the admins. |
subject staffql only |
ID! |
Who: their handle in this provider’s feed. |
text staffql only |
String! |
What it says, up to 280 characters. Write {{name:<subject>}} to name someone in the feed: the server puts in the short name the room shows (“Aurora B.”). |
venueId staffql only |
ID! |
The venue whose room (the room id on its events). |
ChatRoomClearInput
Section titled “ChatRoomClearInput”Input · staffql only
Autogenerated input type of ChatRoomClear
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
localeId staffql only |
ID |
The locale whose room to clear (or venueId). |
venueId staffql only |
ID |
The venue whose room to clear (or localeId). |
ChatSyncInput
Section titled “ChatSyncInput”Input · staffql only
Autogenerated input type of ChatSync
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venueId staffql only |
ID |
A venue’s own server instead of the audience’s. |
ChatVerifyInput
Section titled “ChatVerifyInput”Input · staffql only
Autogenerated input type of ChatVerify
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venueId staffql only |
ID |
A venue’s own community instead of the audience’s. |
DiscordAppSetInput
Section titled “DiscordAppSetInput”Input · staffql only
Autogenerated input type of DiscordAppSet
| Field | Type | Description |
|---|---|---|
botToken staffql only |
String |
The Bot > Token from the Developer Portal. |
clientId staffql only |
String |
The application’s ID (OAuth2 > Client ID). |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
clientSecret staffql only |
String |
OAuth2 > Client Secret. |
publicKey staffql only |
String |
General Information > Public Key. Read off the application when the bot token checks out, so it can be left out. |
DiscordAppSetUpInput
Section titled “DiscordAppSetUpInput”Input · staffql only
Autogenerated input type of DiscordAppSetUp
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
DiscordBotInstallStartInput
Section titled “DiscordBotInstallStartInput”Input · staffql only
Autogenerated input type of DiscordBotInstallStart
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
returnTo staffql only |
String! |
The console page to come back to. |
venueId staffql only |
ID |
A venue’s own server (e.g. 801 Labs’), for its room, instead of the audience’s. |
FlaggedMessageReviewInput
Section titled “FlaggedMessageReviewInput”Input · staffql only
Autogenerated input type of FlaggedMessageReview
| Field | Type | Description |
|---|---|---|
action staffql only |
FlaggedMessageAction! |
What to do. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The flagged message (FlaggedMessage.id). |
minutes staffql only |
Int |
A cooldown’s length, 1 to 30 (10 without). |
text staffql only |
String |
A warning’s words (the venue’s own reminder without), or an escalation’s note for the admins. |
SafetyAlertAcknowledgeInput
Section titled “SafetyAlertAcknowledgeInput”Input · staffql only
Autogenerated input type of SafetyAlertAcknowledge
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The alert. |
staffName staffql only |
String |
The first name the guest sees. Left out uses the name set on your shift, your account’s first name, or on a Velvet device the venue’s. |
SafetyAlertCloseInput
Section titled “SafetyAlertCloseInput”Input · staffql only
Autogenerated input type of SafetyAlertClose
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The alert. |
note staffql only |
String |
Anything to remember, up to 500 characters. Staff and the team only. |
outcome staffql only |
SafetyAlertOutcome! |
How it went. |
SafetyAlertPracticeInput
Section titled “SafetyAlertPracticeInput”Input · staffql only
Autogenerated input type of SafetyAlertPractice
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venueId staffql only |
ID! |
Your venue. |
SafetyAlertSeeInput
Section titled “SafetyAlertSeeInput”Input · staffql only
Autogenerated input type of SafetyAlertSee
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The alert. |
SafetyAlertSupportShareInput
Section titled “SafetyAlertSupportShareInput”Input · staffql only
Autogenerated input type of SafetyAlertSupportShare
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The alert. |
note staffql only |
String |
A note the guest sees with it, up to 500 characters. |
SafetyShiftPresenceReportInput
Section titled “SafetyShiftPresenceReportInput”Input · staffql only
Autogenerated input type of SafetyShiftPresenceReport
| Field | Type | Description |
|---|---|---|
accuracy staffql only |
Float |
The location’s accuracy in meters. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
inside staffql only |
Boolean! |
Whether the device is inside the venue. |
latitude staffql only |
Float |
Where the device is. When sent, a location outside the venue overrules inside. |
longitude staffql only |
Float |
Where the device is. |
venueId staffql only |
ID! |
The venue. |
SafetyShiftSetInput
Section titled “SafetyShiftSetInput”Input · staffql only
Autogenerated input type of SafetyShiftSet
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
geofenced staffql only |
Boolean |
Hear them only while this device reports being inside the venue (reportSafetyShiftPresence). Left out keeps the last setting. |
onShift staffql only |
Boolean! |
Whether this device hears safety alerts here. |
staffName staffql only |
String |
The first name guests see. Left out keeps the last one; empty clears it. |
venueId staffql only |
ID! |
The venue. |
VenueChatModerateInput
Section titled “VenueChatModerateInput”Input · staffql only
Autogenerated input type of VenueChatModerate
| Field | Type | Description |
|---|---|---|
action staffql only |
ChatModerationAction! |
What to do, in this venue only. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
userId staffql only |
ID! |
The user UUID. |
venueId staffql only |
ID! |
The venue UUID. |
Interfaces
Section titled “Interfaces”ChatMessage
Section titled “ChatMessage”Interface · implemented by LocaleMessage, VenueMessage
A message in a venue’s or a locale’s chat room: a VenueMessage or a LocaleMessage.
| Field | Type | Description |
|---|---|---|
automatic |
Boolean! |
Whether the server posted it on its own, like an “On now” announcement. |
avatarUrl |
PhotoURL |
The sender’s profile photo, or the venue’s photo for a post as the venue. |
body |
String! |
What they wrote: the text, or a rich message’s body or caption (may be empty). |
endsAt |
ISO8601DateTime |
When a special stops showing. |
event |
Event |
The event an event message shares. |
id |
ID! |
The ID of the message. |
isPrivate |
Boolean! |
Whether only one person sees it: a private nudge from the AI host, which apps show as “Only you can see this”. Nobody else in the room gets it. |
isTest |
Boolean! |
Whether it is a moderation test: a test phrase someone typed, or the AI host’s answer to one (config/moderation/test_phrases.yml). Apps mark it as a test, and reporting it files nothing. |
kind |
ChatKind! |
What the message is. |
member |
AudienceMember |
The sender’s membership in the room’s audience, for kicking or banning them. Admins only; null for anyone else. requires audience:read:* |
message |
String! |
The message as apps that only show text show it: the text, or a rich message in words (“Shared an event: Sunset Social”). |
name |
String |
The sender’s name: in full for themself, their friends and admins; first name and last initial (“Aurora B.”) for anyone else, as the room shows it. The venue’s name for a post as the venue. |
person |
Person |
The talent listing it was posted as, if any. |
photoAlt |
String |
What’s in a photo message’s picture, for screen readers, when its poster said. |
photoUrl |
PhotoURL |
The photo of a photo message or an announcement. |
pinned |
Boolean! |
Whether it’s the announcement pinned under the room’s title. |
postedAsAudience |
Boolean! |
Whether it was posted as the room’s audience, like a prompt: shown with its name and mark, not a person. |
postedAsPerson |
Boolean! |
Whether talent posted it as their listing (role HOST): person is who. |
postedAsVenue |
Boolean! |
Whether it was posted as the venue. |
presence |
Presence! |
Whether they can be reached now: in chat, by push, or neither. OFFLINE unless the viewer is them, a friend of theirs, or an admin. |
prompt |
ChatPromptFrame |
The prompt a PROMPT message puts to the room. |
promptId |
ID |
The prompt a TEXT message answers, if it does. |
removal |
ChatMessageRemoval |
Who removed it and why, for a removed message in a transcript asked with includeRemoved; null while it shows. |
request |
SongRequest |
The song request or karaoke signup a REQUEST message made, with its place in the queue and what became of it. |
role |
ChatRole |
Their role in the room, if any. |
sender |
Sender! |
Who it is from, as apps draw it: the room, a bot, the venue, someone posting as a listing, or a member. Replaces postedAsVenue, postedAsPerson and postedAsAudience. |
sentAt |
ISO8601DateTime! |
When they sent it. |
sharedTribes |
[Tag!]! |
The tribes the signed-in user and they both identify with, for the “You’re both” mark in venue chat (each tag has its bothPhrase). Only ever the two of them see it; empty for the viewer themselves and when signed out. |
title |
String |
An announcement or special’s headline. |
tribes |
[TribeIdentification!]! |
Their tribes here that the signed-in user may see: the ones they share, and public ones only where the audience allows public tribes. All of them for the viewer themselves. |
userId |
ID! |
The ID of the user who sent it. |
HasTribes
Section titled “HasTribes”Interface · implemented by Friend, LocaleMessage, SelfUser, User, VenueMessage
Someone who can identify with tribes.
| Field | Type | Description |
|---|---|---|
sharedTribes |
[Tag!]! |
The tribes the signed-in user and they both identify with, for the “You’re both” mark in venue chat (each tag has its bothPhrase). Only ever the two of them see it; empty for the viewer themselves and when signed out. |
tribes |
[TribeIdentification!]! |
Their tribes here that the signed-in user may see: the ones they share, and public ones only where the audience allows public tribes. All of them for the viewer themselves. |
IAudienceChat
Section titled “IAudienceChat”Interface · implemented by AudienceChatView · mixin edge chat on Audience
The chat module’s root lookups: the audience’s rooms, a room’s transcript and bans, and the moderators an audience can use.
| Field | Type | Description |
|---|---|---|
account |
ChatAccount |
Its connection to the provider that runs its rooms, e.g. its Discord server. Null on AudienceKit, and for anyone but its admins. requires chat:write:* |
discordApp |
DiscordApp |
Its own Discord application, whose bot “Add bot” adds (setDiscordApp). Admins only. requires chat:write:* |
localeMessages staffql onlyafter: Stringbefore: Stringfirst: IntincludeRemoved: Booleanlast: IntlocaleId: ID! |
LocaleMessageConnection! |
A locale’s chat transcript, newest first. Admins only; talent who can post there (Person.chat.rooms) read its last 24 hours. requires chat:read:mine |
moderation staffql only |
IAudienceChatModeration! |
The instance’s IAudienceChatModeration mixin. Left out of the schema where its module isn’t installed. |
moderationProvidersafter: Stringbefore: Stringfirst: Intlast: Int |
IModerationProviderConnection! |
The chat moderators audiences can use, and what each reads and can do. |
provider |
ChatProvider! |
Who runs its rooms: AudienceKit unless it connected another provider. Apps check inApp before opening a room, and otherwise send people to the room’s url. |
providersafter: Stringbefore: Stringfirst: Intlast: Int |
ChatProviderConnection! |
The chat providers an audience can use, and what each supports. |
roomHosts staffql onlylocaleId: IDvenueId: ID |
[ChatHostChoice!]! |
Who a room’s admins can post as besides themselves and the venue (sendChatMessage asPersonId): the people on its events and lineup tonight, those on now first, then a venue’s regulars. Empty for anyone but the room’s admins. requires chat:read:mine |
rooms staffql onlyafter: Stringbefore: Stringfirst: Intlast: Int |
ChatRoomConnection! |
The audience’s chat rooms, the most recently active first. Admins see every venue and locale; venue listing managers their own venues. requires chat:read:mine |
venueAccounts |
[ChatAccount!]! |
Venues with a chat community of their own (e.g. a venue’s own Discord server), whose rooms go there instead of the audience’s. Admins only. requires chat:write:* |
venueBans staffql onlyafter: Stringbefore: Stringfirst: Intlast: IntvenueId: ID! |
VenueChatBanConnection! |
People banned from a venue (its chat and seeing it), newest first. Admins, and the managers of that venue’s listing, only. requires chat:moderate:mine or chat:moderate:venue |
venueMessages staffql onlyafter: Stringbefore: Stringfirst: IntincludeRemoved: Booleanlast: IntvenueId: ID! |
VenueMessageConnection! |
A venue’s chat transcript, newest first. Admins, and the managers of that venue’s listing, only; talent who can post there (Person.chat.rooms) read its last 24 hours. requires chat:read:mine or chat:read:venue |
IChatModerationEvent
Section titled “IChatModerationEvent”Interface · implemented by ChatModerationGlamOutput, ChatModerationMessageCreated, ChatModerationMessageRemoved, ChatModerationMessageReported, ChatModerationRoomCleared, ChatModerationUserBanned, ChatModerationUserKicked, ChatModerationUserUnbanned · staffql only
An event in the moderation feed: where and when it happened, and its place in the feed.
| Field | Type | Description |
|---|---|---|
at staffql only |
ISO8601DateTime! |
When it happened. |
cursor staffql only |
ID! |
Its place in the feed. Events come oldest first; ask for those after the last one handled (Subscription.chatModeration(after:)). |
room staffql only |
ChatModerationRoom! |
The room it happened in. |
IEventChat
Section titled “IEventChat”Interface · implemented by EventChatView · mixin edge chat on Event
How an event’s chat room (its venue’s, while it’s on) gets people talking: the prompts it shows, and when (ChatPrompts). Its staff only. Change it with setEventChatPrompts.
| Field | Type | Description |
|---|---|---|
file |
JSON! |
Its prompts and settings as an audiencekit.chatPrompts file, for importChatPrompts. |
idleMinutes |
Int |
How long the room is quiet before a prompt drops in as a card (at most one every 30 minutes); null for never. |
nextPromptAt |
ISO8601DateTime |
When the next prompt rotates in, if one will. |
nightlyCap |
Int! |
At most this many prompts a night. |
pauseDuringActs |
Boolean! |
Whether prompts wait while an act is on stage. |
prompts |
[ChatPrompt!]! |
Its prompts, in the order they show. |
promptsEnabled |
Boolean! |
Whether the room shows its prompts. |
rotateMinutes |
Int |
How often the pinned prompt changes, from when the event starts; null when it doesn’t rotate. |
starterSets |
[ChatPromptStarterSet!]! |
Hand-written lists to start from. |
ILocaleChat
Section titled “ILocaleChat”Interface · implemented by LocaleChatView · mixin edge chat on Locale
A locale’s chat room, as the signed-in user sees it from outside: whether they can join it and its last few lines.
| Field | Type | Description |
|---|---|---|
open |
Boolean! |
Whether the signed-in user can join it: they are out in the locale and not at one of its venues, or they are an admin. Apps hide the way in when it is false. |
provider |
ChatProvider! |
Who runs the room: its audience’s chat provider. |
readOnly |
Boolean! |
Whether the room is a read-only mirror of its provider’s channel (a Discord bridge in read mode): anyone signed in reads and reports it from anywhere, nobody posts in it from the apps, and replyUrl is where to reply. |
recentMessagesafter: Stringbefore: Stringfirst: Intlast: Intlimit: Int |
LocaleMessageConnection! |
Its last few lines, oldest first. Empty unless the signed-in user is in the locale (or is an admin), as the room is. Only the last 24 hours, except for admins. |
replyUrl |
String |
Where to reply to a read-only room (readOnly), e.g. its Discord channel. Null otherwise. |
url |
String |
Where the apps send people to the room when its provider doesn’t run it in the apps (provider.inApp false), e.g. its Discord channel, or the server invite when it has none. Null on AudienceKit. |
IModerationProvider
Section titled “IModerationProvider”Interface · implemented by ArbiterModerationProvider, ClaudeModerationProvider, RulesModerationProvider
A chat moderator (a Moderation::Provider): a service that receives chat events (messages, joins, reports, kicks, bans) and can remove messages and warn, kick or ban people. Shows where it runs, the events it reads, the actions it can take and the policy categories it judges. Each provider has its own type.
| Field | Type | Description |
|---|---|---|
actions |
[String!]! |
Actions it can take, e.g. escalate or remove_message. An audience grants it some of them. |
categories |
[String!]! |
Policy categories it judges, e.g. spam or threats. |
events |
[String!]! |
Chat events it receives, e.g. message.created or user.joined. |
following |
Boolean! |
Whether it reads this audience’s chat now: always for inline ones; for remote ones, while a live service token of the audience’s is issued for it with chat:moderate:*. |
inline |
Boolean! |
Whether it receives each event on this server as it happens. |
key |
String! |
Its key, e.g. karafun. |
name |
String! |
Its name, e.g. KaraFun. |
remote |
Boolean! |
Whether it runs on its own server and dials in for the event feed. |
IMutationChat
Section titled “IMutationChat”Interface · implemented by MutationChatView · mixin edge chat on Mutation · staffql only
Changes to chat, grouped by module: moderation { … } for the moderation feed.
| Field | Type | Description |
|---|---|---|
moderation staffql only |
ChatModerationMutations! |
What a moderation provider does about the feed. |
IPersonChat
Section titled “IPersonChat”Interface · implemented by PersonChatView · mixin edge chat on Person
The chat rooms a person can post in as themself (HOST).
| Field | Type | Description |
|---|---|---|
roomsafter: Stringbefore: Stringfirst: Intlast: Int |
ChatRoomConnection! |
The rooms they can post in as themself, from anywhere: the venues they’re featured at or host events at and the locales they’re featured in, the most recently active first. Only for admins and those who act as them; empty for anyone else. requires chat:read:mine or chat:read:my_troupes |
IVenueChat
Section titled “IVenueChat”Interface · implemented by VenueChatView · mixin edge chat on Venue
A venue’s chat room, as the signed-in user sees it from outside: whether they can join it, its last few lines and its pinned announcement.
| Field | Type | Description |
|---|---|---|
open |
Boolean! |
Whether the signed-in user can join it: they are here, or they are an admin. Apps hide the way in when it is false. |
pinnedMessage |
VenueMessage |
The announcement pinned under its title, however old. For whoever can read the room and its managers; null for anyone else. |
provider |
ChatProvider! |
Who runs the room: its audience’s chat provider. |
readOnly |
Boolean! |
Whether the room is a read-only mirror of its provider’s channel (a Discord bridge in read mode): anyone signed in reads and reports it from anywhere, nobody posts in it from the apps, and replyUrl is where to reply. |
recentMessagesafter: Stringbefore: Stringfirst: Intlast: Intlimit: Int |
VenueMessageConnection! |
Its last few lines, oldest first. Empty unless the signed-in user is at the venue (or is an admin), as the room is. Only the last 24 hours, except for admins. |
replyUrl |
String |
Where to reply to a read-only room (readOnly), e.g. its Discord channel. Null otherwise. |
url |
String |
Where the apps send people to the room when its provider doesn’t run it in the apps (provider.inApp false), e.g. its Discord channel, or the server invite when it has none. Null on AudienceKit. |
Sender
Section titled “Sender”Interface · implemented by BotSender, MemberSender, PersonaSender, SystemSender, VenueSender
Who a chat message is from: the room itself (SystemSender), a bot (BotSender),
the venue (VenueSender), someone posting as a listing (PersonaSender), or a
member as themself (MemberSender). kind says which, for apps that switch on it.
| Field | Type | Description |
|---|---|---|
avatarUrl |
PhotoURL |
The sender’s avatar: the bot’s art, the venue’s photo, the listing’s or the member’s. Null for the room itself. |
kind |
ChatSenderKind! |
Which kind of sender. |
name |
String |
The name the room shows: the bot’s, the venue’s or the listing’s, or a member’s as ChatMessage.name gives it. Null for the room itself. |
ChatKind
Section titled “ChatKind”Enum
What a chat message is. Only messages with a role can be anything but TEXT or REQUEST.
ANNOUNCEMENTA title, the message as its body and an optional photo. One per room can be pinned under its title.EVENTOne of the audience’s events, with the message as a caption.PHOTOA photo, with the message as a caption.PROMPTOne of the event’s chat prompts (prompt), posted as the audience. The newest PINNED one shows under the room’s title.REQUESTA song request or karaoke signup (request), with the message as a note to the host. Anyone in a venue room may send one while the venue takes them (requestSong).SPECIALA title and body that stop showing at endsAt.TEXTJust what they wrote.
ChatLeftReason
Section titled “ChatLeftReason”Enum
Why someone is out of a chat room.
AWAYThey’re no longer at the venue (or in the locale) and tried to speak.BANNEDThe room’s audience banned them.MOVEDThey joined another venue’s or locale’s room: a person is in one at a time.REMOVEDThe venue’s moderators kicked or banned them from its room.
ChatModerationAction
Section titled “ChatModerationAction”Enum · staffql only
What a moderator does to a person in one venue chat.
BANDrops them and keeps them out of this room.KICKDrops them from the room now; they may come back.UNBANLets a banned person back in.
ChatModerationProviderAction
Section titled “ChatModerationProviderAction”Enum · staffql only
What a moderation provider did (Moderation::ACTIONS).
BAN_USERThe ban user action.COOLDOWN_USERThe cooldown user action.CRISIS_RESOURCESThe crisis resources action.ESCALATEThe escalate action.KICK_USERThe kick user action.NOTIFY_ADMINSThe notify admins action.NOTIFY_VENUEThe notify venue action.OPEN_SAFETY_ALERTThe open safety alert action.PIN_MESSAGEThe pin message action.REMOVE_MESSAGEThe remove message action.RESOLVE_APPEALThe resolve appeal action.RESTORE_MESSAGEThe restore message action.REVIEW_GLAM_OUTPUTThe review glam output action.SAYThe say action.UNBAN_USERThe unban user action.WARN_USERThe warn user action.
ChatModerationRoomKind
Section titled “ChatModerationRoomKind”Enum · staffql only
Whose chat room an event in the moderation feed happened in.
LOCALEA locale’s room.VENUEA venue’s room.
ChatPromptKind
Section titled “ChatPromptKind”Enum
What a chat prompt (ChatPrompt) asks.
CONVERSATIONSomething to talk about with the people around you.TRIVIAA question with an answer, hidden until tapped or revealAt.
ChatPromptShownAs
Section titled “ChatPromptShownAs”Enum
How a chat prompt went up in its room.
CARDDropped into a quiet room as a card.PINNEDRotated in, pinned under the room’s title until the next one.
ChatRole
Section titled “ChatRole”Enum
Who a chat message is from, when they have a role there (see ChatMessage). Set by the server.
HOSTA host or performer on tonight’s event at the venue.STAFFOne of the audience’s admins.VENUEPosted as the venue, shown with its name and photo.
ChatSenderKind
Section titled “ChatSenderKind”Enum
Who a chat message is from (see Sender), as apps draw it. More kinds may come: draw one you don’t know as MEMBER.
BOTSoftware with a name of its own, like Glam, the AI host: its own art with no border or fill, and a bot mark.MEMBERAnyone posting as themself: their own avatar and presence.PERSONASomeone posting as a listing, like a host as their talent page: its name and photo in a ringed circle, with a role badge.SYSTEMThe room itself, like a prompt: no avatar, a centred line.VENUESomeone posting as the venue: its name and photo, in a squarer avatar.
FlaggedMessageAction
Section titled “FlaggedMessageAction”Enum · staffql only
What venue staff do about a message the AI host flagged in their room (reviewFlaggedMessage).
BANBans the sender from the venue, as moderateVenueChat does. Apps confirm first.COOLDOWNTakes the sender out of the room for a few minutes (10 unless minutes says).DISMISSNothing to do: it leaves the list.ESCALATEFiles it in the audience admins’ Reports queue for a closer look.REMOVETakes the message out of the room for everyone.WARNA private line from the venue to the sender, which only they see, and a push.
GlamAction
Section titled “GlamAction”Enum · staffql only
An action on a person Glam suggests or Arbiter takes in review, least to most severe.
BLOCKBanned from the venue’s room for 24 hours unless an admin confirms.COOLDOWNOut of the venue’s room for a few minutes.NONENothing.REMOVETake the line down.
GlamOutputKind
Section titled “GlamOutputKind”Enum · staffql only
What Glam’s fast lane did (GlamOutput).
DO_NOT_REPLYChose to say nothing.FLAGAsked Arbiter to look at a line, suggesting an action.PRIVATE_NUDGESent one person a kind word only they see.REPLYSaid something in the room, answering a line.SAFETY_RESPONSESent someone support, or raised the venue safety alert for them.
GlamReviewOutcome
Section titled “GlamReviewOutcome”Enum · staffql only
Arbiter’s verdict on something Glam’s fast lane did (Glam::Review).
CONFIRMAgree; a flag’s suggested action is taken.DOWNGRADETake a lighter action than Glam suggested.ESCALATESend it to a human moderator.OVERTURNGlam was wrong: nobody is acted on unless an action is given. Silent; a nudge (or, with retract, a reply) is taken down.
Presence
Section titled “Presence”Enum
Whether someone can be reached right now (see ChatPresence). Only the person themself, their friends and admins see the real value; to anyone else it is always OFFLINE.
OFFLINENeither, or not for this viewer to see.ONLINEConnected to a chat room now.PUSHNot in chat, but signed in on a device that gets push notifications.
SafetyAlertFlagReason
Section titled “SafetyAlertFlagReason”Enum · staffql only
Why a safety alert needs a look from the audience’s team (SafetyAlerts::FLAG_REASONS).
MISUSEVenue staff said the sender is misusing alerts and asked for them to be blocked.NOBODY_ON_SHIFTNobody was on shift when it was sent.PATTERN3 or more alerts from the same person in 30 days.SEEMS_OFFVenue staff said something seems off.UNANSWEREDNobody on shift picked it up within 2 minutes.
SafetyAlertOutcome
Section titled “SafetyAlertOutcome”Enum · staffql only
How staff closed a safety alert. Only staff and admins see it; the guest is told it was closed.
MISUSEThe sender is misusing alerts: asks the audience’s team to block them from the community. Nobody is blocked until the team decides.NOT_FOUNDStaff couldn’t find them.NOT_NEEDEDThey said they no longer needed help.REMOVED_SOMEONESomeone was asked to leave.SEEMS_OFFSomething seems off: puts it in front of the audience’s team.SORTEDSorted: they are OK now.
SafetyAlertState
Section titled “SafetyAlertState”Enum
Where a safety alert stands.
ACKNOWLEDGEDSomeone on shift said they are on it.CANCELLEDThe guest said they’re OK now.CLOSEDStaff closed it.OPENSent, and nobody on shift has picked it up yet.
Unions
Section titled “Unions”ChatModerationEvent
Section titled “ChatModerationEvent”Union · staffql only
One thing on the moderation feed (Subscription.chatModeration): a chat event (IChatModerationEvent), or a marker about the feed itself.
ChatModerationCaughtUpChatModerationFeedGapChatModerationGlamOutputChatModerationMessageCreatedChatModerationMessageRemovedChatModerationMessageReportedChatModerationRoomClearedChatModerationUserBannedChatModerationUserKickedChatModerationUserUnbanned
ChatRoomEvent
Section titled “ChatRoomEvent”Union
What someone following a chat room hears (Subscription.venueChat, Subscription.localeChat), as they see it: ChatJoined first, then the room as it changes, until ChatLeft ends the subscription.
ChatJoinedChatLeftChatLineupChangedChatMessagePostedChatMessageRemovedChatMessageUpdatedChatPinChangedChatPresenceChangedChatRangeChangedChatRoomCleared
Scalars
Section titled “Scalars”ISO8601DateTime
Section titled “ISO8601DateTime”Scalar
An ISO 8601-encoded datetime