Youtube.NewSubscriber
Someone subscribes to the channel for free: YouTube’s follow.
- Platform: youtube
- Shape:
follow - Source event:
Youtube.NewSubscriber
Widget.on("Youtube.NewSubscriber", (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.
It also carries platform (the source platform) and raw (the original payload).
Example
Section titled “Example”The example payload that reaches the Studio simulator:
{ "isTest": false, "user": { "id": "string", "isModerator": false, "isOwner": false, "isSponsor": true, "isVerified": true, "name": "CanalDePrueba", "profileImageUrl": "https://yt3.ggpht.com/s0C1fULyWjrKHdHHQ_H8VcloFQWL955jB-G917g-ExxqqfFqdziHk9vPbbI1B1gllU2RNQNA=s88-c-k-c0x00ffffff-no-rj" }}