TikTok.Follow
Someone follows the channel.
- Platform: tiktok
- Shape:
follow - Source event:
TikTok.Follow
Widget.on("TikTok.Follow", (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:
{ "userId": "7012345678901234567", "uniqueId": "neonfox", "nickname": "NeonFox", "profilePictureUrl": "", "msgId": "7298765432109876544"}