Content-Length: 267601 | pFad | http://github.com/nicklaw5/helix/blob/main/docs/raid_docs.md

3E helix/docs/raid_docs.md at main · nicklaw5/helix · GitHub
Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 762 Bytes

raid_docs.md

File metadata and controls

46 lines (36 loc) · 762 Bytes

Raid Documentation

Start Raid

This is an example of how to start a raid.

client, err := helix.NewClient(&helix.Options{
    ClientID: "your-client-id",
})
if err != nil {
    // handle error
}

resp, err := client.StartRaid(&helix.StartRaidParams{
    FromBroadcasterID: "22484632",
  	ToBroadcasterID: "71092938" 
})
if err != nil {
    // handle error
}

fmt.Printf("%+v\n", resp)

Cancel Raid

This is an example of how to cancel a raid.

client, err := helix.NewClient(&helix.Options{
    ClientID: "your-client-id",
})
if err != nil {
    // handle error
}

resp, err := resp, err := client.CancelRaid(&helix.CancelRaidParams{
    BroadcasterID: "22484632", 
})
if err != nil {
    // handle error
}

fmt.Printf("%+v\n", resp)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/nicklaw5/helix/blob/main/docs/raid_docs.md

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy