Youtube.GiftMembershipReceived
Someone receives a gifted membership.
- Platform: youtube
- Shape:
giftSub - Source event:
Youtube.GiftMembershipReceived
Widget.on("Youtube.GiftMembershipReceived", (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.recipient(string): Who receives it.tier(1 | 2 | 3): Subscription tier.anonymous(boolean): Whether the gift is anonymous.giftBombId(string | null): Id of the gift bomb it belongs to, or null.fromGiftBomb(boolean): Whether it comes from a gift bomb: do not count it twice.
It also carries platform (the source platform) and raw (the original payload).
Example
Section titled “Example”The example payload that reaches the Studio simulator:
{ "broadcast": [], "eventId": "00000000-0000-4000-8000-000000000001", "gifter": [ { "id": "string", "isOwner": false, "isModerator": false, "isSponsor": true, "isVerified": true, "name": "CanalDePrueba", "profileImageUrl": "https://yt3.ggpht.com/s0C1fULyWjrKHdHHQ_H8VcloFQWL955jB-G917g-ExxqqfFqdziHk9vPbbI1B1gllU2RNQNA=s88-c-k-c0x00ffffff-no-rj", "type": "string" } ], "isTest": false, "publishedAt": "2026-09-26T05:32:11.8891229Z", "tier": "integer", "user": { "id": "string", "isOwner": false, "isSponsor": true, "isVerified": true, "name": "CanalDePrueba", "profileImageUrl": "https://yt3.ggpht.com/s0C1fULyWjrKHdHHQ_H8VcloFQWL955jB-G917g-ExxqqfFqdziHk9vPbbI1B1gllU2RNQNA=s88-c-k-c0x00ffffff-no-rj" }}