INPUT_OBJECT

RedeemCommunityPointsCustomRewardInput

Input for redeeming a custom Community Points reward in a channel.

link GraphQL Schema definition

1input RedeemCommunityPointsCustomRewardInput {
4
2# The channel ID that the reward is being redeemed in.
3channelID: ID!
8
5# The cost that the client expects this reward to cost.
6# If this cost is different from the reward's true cost, the request will fail.
7cost: Int!
14
9# The prompt that the client expects this reward to have.
10# If this prompt is different from the reward's true prompt, the request will
11# fail.
12# Should be null if the reward does not have a prompt.
13prompt: String
17
15# The unique reward ID.
16rewardID: ID!
21
18# For rewards that require text input, this is the user-supplied text.
19# Discarded if the reward does not require text input.
20textInput: String
25
22# The title that the client expects this reward to have.
23# If this title is different from the reward's true title, the request will fail.
24title: String!
28
26# Client-set identifier for the transaction. This ID should be universally unique.
27transactionID: ID!
29}