Kick.Resubscription
Someone renews their subscription, sometimes with a message.
- Platform: kick
- Shape:
resub - Source event:
Kick.Resubscription
Widget.on("Kick.Resubscription", (event) => { // event.user, event.platform…});Fields
Section titled “Fields”user(string): Display name; «Anonymous» for anonymous gifts.userId(string): User id on its platform.userLogin(string): Login, lowercase.tier(1 | 2 | 3): Subscription tier.prime(boolean): Whether it is a Prime sub.months(number): Cumulative months.streak(number): Consecutive months (0 if not shared).message(string): The message, as plain text.parts(MessagePart[]): The message in parts (text, emotes and cheers), for Widget.dom.renderMessage.amount(number): Same as months, for counters.
It also carries platform (the source platform) and raw (the original payload).
Example
Section titled “Example”The example payload that reaches the Studio simulator:
{ "duration": 3, "expiresAt": "string", "isTest": false, "subscribedAt": "string", "user": { "id": "00000001000001001", "isSubscribed": true, "login": "string", "name": "string", "profilePicture": "string", "role": 2 }}