twitch-rs / twitch_api

Rust library for talking with the Twitch API aka. "Helix", TMI and more! Use Twitch endpoints fearlessly!
Apache License 2.0
151 stars 33 forks source link

feat: Add "Update Conduit Shards" endpoint #411

Closed pajlada closed 7 months ago

pajlada commented 7 months ago

This endpoint is used to update the shards that exist in a previously created conduit.

I have tested this in my own bot, combined with the Create Conduit & Get Conduits endpoint I implemented earlier, and verified that it works as expected (at least for my use case). I'm not 100% sure if I've covered all edge cases.

I have not updated eventsub::TransportMethod because I'm not sure exactly where that's used.

I have not added all helpers to TransportResponse/Transport, but will do so