TwitchApi.Channels.ModifyChannelInformation (TwitchApi v0.1.0) View Source

⛔ This module is autogenerated please do not modify manually.

Example request from twitch api docs:

descriptions:

requests:

curl -X PATCH 'https://api.twitch.tv/helix/channels?broadcaster_id=41245072'
-H'Authorization: Bearer 2gbdx6oar67tqtcmt49t3wpcgycthx'
-H'Client-Id: wbmytr93xzw8zbg0p1izqyzzc5mbiz'
-H'Content-Type: application/json'
--data-raw'{"game_id":"33214", "title":"there are helicopters in the game? REASON TO PLAY FORTNITE found", "broadcaster_language":"en"}'

Example response from twitch api docs:

descriptions:

responses:

204NoContent

Link to this section Summary

Functions

Description:

Modifies channel information for users.

Link to this section Types

Specs

broadcaster_id() :: %{broadcaster_id: String.t()}

Specs

user_info() :: %{user_id: integer() | binary()} | %{user_name: binary()}

Link to this section Functions

Specs

call(broadcaster_id(), user_info()) ::
  {:ok, Finch.Response.t()} | {:error, Exception.t()}

Description:

Modifies channel information for users.

Required authentication:

OAuth Token required Required scope: channel:manage:broadcast

Required authorization: