pajlada / go-twitch-pubsub

Twitch PubSub library for Go
MIT License
21 stars 9 forks source link

Are UserID and ChannelID the same thing? #25

Open chrisbward opened 1 year ago

chrisbward commented 1 year ago

Just trying to read the docs and it's a bit confusing

pajlada commented 1 year ago

User ID or Mod ID usually refers to the owner of the token's Twitch User ID, whereas channel ID usually refers to the Twitch User ID of the channel we're interested in events from

The documentation can be made better to clarify this as it can be confusing in Twitch's own documentation. You're referring specifically to the various free-standing ...Topic functions found here https://pkg.go.dev/github.com/pajlada/go-twitch-pubsub#pkg-functions that help you subscribe right?