[][src]Module twitch_api2::helix::channels

Endpoints regarding channels

Examples

let client = HelixClient::new();
let req = GetChannelInformationRequest::builder()
    .broadcaster_id("1234")
    .build();

// Get Channel Request only returns one entry.
println!("{:?}", &client.req_get(req, &token).await?.data.get(0));

Modules

get_channel_information

Gets channel information for users. get-channel-information

modify_channel_information

Gets channel information for users. modify-channel-information

start_commercial

Starts a commercial on a specified channel. start-commercial

Structs

GetChannelInformation

Return Values for Get Channel Information

GetChannelInformationRequest

Query Parameters for Get Channel Information

ModifyChannelInformationBody

Body Parameters for Modify Channel Information

ModifyChannelInformationRequest

Query Parameters for Modify Channel Information

StartCommercial

Return Values for Start Commercial

StartCommercialBody

Body Parameters for Start Commercial

StartCommercialRequest

Query Parameters for Start Commercial

Enums

CommercialLength

Length of the commercial in seconds

ModifyChannelInformation

Return Values for Modify Channel Information