Closed vaindil closed 5 years ago
I don't think it will ever be null and the nullable and checks probably arnt required.
The months
field is completely absent for regular subs/resubs, and cumulative-months
/streak-months
are absent for gifted subs. Wouldn't they be null there?
hmmmm i suppose. ya makes sense then
This adds the new
cumulative-months
andstreak-months
properties toChannelSubscription
. They are hyphenated, not snake_case like everything else. (That's how it is in the docs and I also verified manually.)cumulative-months
andstreak-months
are used only for regular subs/resubs, but the oldmonths
field is still used for gifts and anon gifts. I figureint?
is the best way to handle that but I'm not sure, let me know. I verified that manually as well, it's not an inconsistency with the docs.