The EventSub docs for
This does not include resubscribes.
What EXACTLY does this mean?
My understanding of what a resub is: Any subscription after the first for a given user. In other words, any subscription with a cumulative months value of 2 or more.
The PubSub documentation for
channel-subscribe-events-v1.<channel_id> matches my understanding:
Anyone subscribes (first month), resubscribes (subsequent months), or gifts a subscription to a channel.
Source: PubSub | Twitch Developers
This is the only thing I found close to a definition of what Twitch considers a resubscription. I found nothing else in the dev docs or this forum.
Yet I receive this event for subscriptions of users who e.g. had their first subs be gifted, let run them out and then subscribe on their own.
One or more of these might be true:
- I am completely misunderstanding or missing something
- the documentation is wrong
- the implementation is wrong
- EventSub and PubSub disagree on what a resub is
This behavior makes it impossible to differentiate between fresh subs and resubs with EventSub, since
channel.subscription.message events trigger only when shared by the user, which is an arbitrary time after the
channel:subscribe event and
channel:subscribe contains no information about the cumulative months. I deemed the latter point irrelevant previously, since it would always be the 1st month anyway, if it truly did not include resubs.
I would appreciate any help in making me make sense of this.