BlushyFace.Twitch
BlushyFace.Twitch.API.Helix.Endpoints.Channels Class Reference

Implemented More...

Public Member Functions

 Channels (HttpHandler httpHandler)
 
async Task< StartCommercialResponse > StartCommercialAsync (List< KeyValuePair< string, string >> parameters)
 
async Task< ChannelResponse > GetChannelInformationAsync (List< KeyValuePair< string, string >> parameters)
 
async Task< string > ModifyChannelInformationAsync (List< KeyValuePair< string, string >> parameters)
 

Detailed Description

Implemented

Member Function Documentation

◆ GetChannelInformationAsync()

async Task<ChannelResponse> BlushyFace.Twitch.API.Helix.Endpoints.Channels.GetChannelInformationAsync ( List< KeyValuePair< string, string >>  parameters)
inline

Gets channel information for users.

Required Query Parameters: broadcaster_id

More info: https://dev.twitch.tv/docs/api/reference#get-channel-information

Parameters
parameters
Returns

◆ ModifyChannelInformationAsync()

async Task<string> BlushyFace.Twitch.API.Helix.Endpoints.Channels.ModifyChannelInformationAsync ( List< KeyValuePair< string, string >>  parameters)
inline

Modifies channel information for users.

Required scope: user:edit:broadcast

Required Query Parameters: broadcaster_id

This endpoint returns a http response code.

More info: https://dev.twitch.tv/docs/api/reference#modify-channel-information

Parameters
parameters
Returns

◆ StartCommercialAsync()

async Task<StartCommercialResponse> BlushyFace.Twitch.API.Helix.Endpoints.Channels.StartCommercialAsync ( List< KeyValuePair< string, string >>  parameters)
inline

Starts a commercial on a specified channel.

Required scope: channel:edit:commercial

More info: https://dev.twitch.tv/docs/api/reference#start-commercial

Returns