INPUT_OBJECT

SendCheerInput

link GraphQL Schema definition

1input SendCheerInput {
4
2# bits is the number of bits the message will spend (as parsed by the client).
3bits: Int!
7
5# content is the text to process and forward to the chat system.
6content: String!
12
8# Client-generated unique ID used to prevent a cheer from being re-sent (thus
9# spending double bits).
10# The server will reject any request with an ID that has already been used.
11id: ID!
16
13# Optional field that dictates the user wants their cheer to appear anonymously
14# (i.e. unassociated with their username).
15isAnonymous: Boolean
20
17# Optional field that dictates whether automod should be enabled for the cheer or
18# not.
19isAutoModEnabled: Boolean
25
21# Optional field that dictates the cheer message was sent from a room, as this
22# provides the context for what room
23# it was sent from.
24roomID: ID
29
26# Optional field that dictates that the user want to cheer anyways, even though
27# they know it will be automodded.
28shouldCheerAnyway: Boolean
32
30# targetID is the `User.id` of the channel to send the cheer to.
31targetID: ID!
33}