Do all EventSub Event payloads look alike?!
For example this is a payload of a channel.follow
event:
{"event":{"user_id":"557131018","user_login":"gabrielucho_115","user_name":"gabrielucho_115","broadcaster_user_id":"12826","broadcaster_user_login":"twitch","broadcaster_user_name":"Twitch","followed_at":"2021-07-06T11:07:22.326567345Z"}}
What happens if the event is a streamer.offline
? Because in that case i dont really need a user_name
for example.
Do the events follow a specific rule/convention ?! If not, where can i see example event payloads for each event type?
There is no follow event/topic documented
There is no streamer.offline event/topic documented
Documented topics can be found in the documentation PubSub | Twitch Developers
And example payloads are documented here as well
I’m sorry i meant EventSub
. I’ve edited the question.
EventSub is documented here
The topics for eventsub are here
Which includes the various topics and payloads
Payloads are generally “consistent” in that they give you the userID, login and display name of the entities involved in each payload
1 Like
O thanks… completely missed that… 
system
Closed
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.