Module twitch_api2::helix::points
source · [−]helix
only.Expand description
Helix endpoints regarding channel points/redeems
Examples
let client = HelixClient::new();
let request = GetCustomRewardRedemptionRequest::builder()
.broadcaster_id("274637212".to_string())
.reward_id("92af127c-7326-4483-a52b-b0da0be61c01".to_string())
.status(CustomRewardRedemptionStatus::Canceled)
.build();
println!("{:?}", &client.req_get(request, &token).await?.data.get(0));
Modules
Adds a specified user to the followers of a specified channel.
create-custom-rewards
Deletes a Custom Reward on a channel.
delete-custom-reward
Returns a list of Custom Reward objects for the Custom Rewards on a channel.
Returns Custom Reward Redemption objects for a Custom Reward on a channel that was created by the same client_id.
Updates a Custom Reward created on a channel.
Updates the status of Custom Reward Redemption objects on a channel that are in the UNFULFILLED status.
Structs
Body Parameters for Create Custom Rewards
Query Parameters for Create Custom Rewards
Return Values for Get Custom Reward
Return Values for Get Custom Reward Redemption
Query Parameters for Delete CustomReward
Query Parameters for Get Custom Reward Redemption
Query Parameters for Get Custom Reward
Body Parameters for Update Custom Rewards
Query Parameters for Update Custom Rewards
Body Parameters for Update Redemption Status
Query Parameters for Update Redemption Status
Enums
Custom reward redemption statuses: UNFULFILLED, FULFILLED or CANCELED
Return Values for Delete CustomReward
FIXME: Returns an object. Return Values for Update Redemption Status
Type Definitions
Return Values for Create Custom Rewards