Skip to content

Commit

Permalink
update eventsub to use channel.follow v2
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsdev0 committed Sep 16, 2023
1 parent 23b7534 commit 4a08158
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions eventsub_subscriptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
{
"subscription_type": "Channel Follow",
"name": "channel.follow",
"version": "1",
"version": "2",
"description": "A specified channel receives a follow.",
"scope_required": null,
"scope_required": "moderator:read:followers",
"event_schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": null,
Expand Down Expand Up @@ -133,9 +133,13 @@
"broadcaster_user_id": {
"description": "The broadcaster user ID for the channel you want to get follow notifications for.",
"type": "string"
},
"moderator_user_id": {
"description": "The ID of the moderator of the channel you want to get follow notifications for. If you have authorization from the broadcaster rather than a moderator, specify the broadcaster’s user ID here.",
"type": "string"
}
},
"required": ["broadcaster_user_id"]
"required": ["broadcaster_user_id", "moderator_user_id"]
}
},
{
Expand Down

0 comments on commit 4a08158

Please sign in to comment.