Subscription gifting

edited November 2017 in Developers



Raw message
@badges=subscriber/6,premium/1;color=#520F15;display-name=kradakzee;emotes=;id=27e9f7b8-9d0a-4aa5-85e9-fabccc1be9a9;login=kradakzee;mod=0;msg-id=subgift;msg-param-months=12;msg-param-recipient-display-name=ThiefMOOer;msg-param-recipient-id=44731657;msg-param-recipient-user-name=thiefmooer;msg-param-sub-plan-name=Piano\sFeels;msg-param-sub-plan=1000;room-id=67955580;subscriber=1;system-msg=kradakzee\sgifted\sa\s$4.99\ssub\sto\sThiefMOOer!;tmi-sent-ts=1510791550808;turbo=0;user-id=42819387;user-type= :tmi.twitch.tv USERNOTICE #chewiemelodies

To check if someone is gifting a sub you need to check the message tags and look for:
msg-id=subgift, means that this is a subgift
display-name=kradakzee, is the person that gifted the sub
msg-param-recipient-display-name=ThiefMOOer, is the person that is gifted the sub gift

Sign In or Register to comment.