@@ -22,64 +22,95 @@ const (
2222const (
2323 // ScopeAnalyticsReadExtensions provides access to view analytics data for
2424 // the Twitch Extensions owned by the authenticated account.
25- ScopeAnalyticsReadExtensions string = "analytics:read:extensions"
25+ ScopeAnalyticsReadExtensions = "analytics:read:extensions"
2626 // ScopeAnalyticsReadGames provides accesss to view analytics data for the
2727 // games owned by the authenticated account.
2828 ScopeAnalyticsReadGames = "analytics:read:games"
2929 // ScopeBitsRead provides access to view Bits information for a channel.
3030 ScopeBitsRead = "bits:read"
31- // ScopeChannelEditCommercial provides access to run commercials on a
32- // channel.
33- ScopeChannelEditCommercial = "channel:edit:commercial"
3431 // ScopeChannelManageBroadcast provides access to manage a channel’s
3532 // broadcast configuration, including updating channel configuration and
3633 // managing stream markers and stream tags.
3734 ScopeChannelManageBroadcast = "channel:manage:broadcast"
38- // ScopeChannelManageExtensions provides access to manage a channel’s
39- // Extension configuration, including activating Extensions.
40- ScopeChannelManageExtensions = "channel:manage:extensions"
41- // ScopeChannelManagePolls provides access to manage a channel’s polls.
42- ScopeChannelManagePolls = "channel:manage:polls"
43- // ScopeChannelManagePredictions provides access to manage a channel’s
44- // Channel Points Predictions.
45- ScopeChannelManagePredictions = "channel:manage:predictions"
46- // ScopeChannelManageRedemptions provides access to manage Channel Points
47- // custom rewards and their redemptions on a channel.
48- ScopeChannelManageRedemptions = "channel:manage:redemptions"
49- // ScopeChannelManageSchedule provides access to manage a channel’s stream
50- // schedule.
51- ScopeChannelManageSchedule = "channel:manage:schedule"
52- // ScopeChannelManageVideos provides access to manage a channel’s videos,
53- // including deleting videos.
54- ScopeChannelManageVideos = "channel:manage:videos"
35+ // ScopeChannelReadCharity provides access to read charity campaign details
36+ // and user donations on your channel.
37+ ScopeChannelReadCharity = "channel:read:charity"
38+ // ScopeChannelEditCommercial provides access to run commercials on a
39+ // channel.
40+ ScopeChannelEditCommercial = "channel:edit:commercial"
5541 // ScopeChannelReadEditors provides access to view a list of users with the
5642 // editor role for a channel.
5743 ScopeChannelReadEditors = "channel:read:editors"
44+ // ScopeChannelManageExtensions provides access to manage a channel’s
45+ // Extension configuration, including activating Extensions.
46+ ScopeChannelManageExtensions = "channel:manage:extensions"
5847 // ScopeChannelReadGoals provides access to view Creator Goals for a
5948 // channel.
6049 ScopeChannelReadGoals = "channel:read:goals"
50+ // ScopeChannelReadGuestStar provides access to read Guest Star details
51+ // for your channel.
52+ ScopeChannelReadGuestStar = "channel:read:guest_star"
53+ // ScopeChannelManageGuestStar provides access to manage Guest Star
54+ // for your channel.
55+ ScopeChannelManageGuestStar = "channel:manage:guest_star"
6156 // ScopeChannelReadHypeTrain provides access to view Hype Train information
6257 // for a channel.
6358 ScopeChannelReadHypeTrain = "channel:read:hype_train"
59+ // ScopeChannelManageModerators provides access to add or remove the
60+ // moderator role from users in your channel.
61+ ScopeChannelManageModerators = "channel:manage:moderators"
6462 // ScopeChannelReadPolls provides access to view a channel’s polls.
6563 ScopeChannelReadPolls = "channel:read:polls"
64+ // ScopeChannelManagePolls provides access to manage a channel’s polls.
65+ ScopeChannelManagePolls = "channel:manage:polls"
6666 // ScopeChannelReadPredictions provides access to view a channel’s Channel
6767 // Points Predictions.
6868 ScopeChannelReadPredictions = "channel:read:predictions"
69+ // ScopeChannelManagePredictions provides access to manage a channel’s
70+ // Channel Points Predictions.
71+ ScopeChannelManagePredictions = "channel:manage:predictions"
72+ // ScopeChannelManageRaids provides access to manage a channel raiding another channel.
73+ ScopeChannelManageRaids = "channel:manage:raids"
6974 // ScopeChannelReadRedemptions provides access to view Channel Points custom
7075 // rewards and their redemptions on a channel.
7176 ScopeChannelReadRedemptions = "channel:read:redemptions"
77+ // ScopeChannelManageRedemptions provides access to manage Channel Points
78+ // custom rewards and their redemptions on a channel.
79+ ScopeChannelManageRedemptions = "channel:manage:redemptions"
80+ // ScopeChannelManageSchedule provides access to manage a channel’s stream
81+ // schedule.
82+ ScopeChannelManageSchedule = "channel:manage:schedule"
7283 // ScopeChannelReadStreamKey provides access to view an authorized user’s
7384 // stream key.
7485 ScopeChannelReadStreamKey = "channel:read:stream_key"
7586 // ScopeChannelReadSubscriptions provides access to view a list of all
7687 // subscribers to a channel and check if a user is subscribed to a channel.
7788 ScopeChannelReadSubscriptions = "channel:read:subscriptions"
89+ // ScopeChannelManageVideos provides access to manage a channel’s videos,
90+ // including deleting videos.
91+ ScopeChannelManageVideos = "channel:manage:videos"
92+ // ScopeChannelReadVips provides access to read the list of VIPs in your channel.
93+ ScopeChannelReadVips = "channel:read:vips"
94+ // ScopeChannelManageVips provide access to add or remove the VIP role from
95+ // users in your channel.
96+ ScopeChannelManageVips = "channel:manage:vips"
7897 // ScopeClipsEdit provides access to manage Clips for a channel.
7998 ScopeClipsEdit = "clips:edit"
8099 // ScopeModerationRead provides access to view a channel’s moderation data
81100 // including Moderators, Bans, Timeouts, and AutoMod settings.
82101 ScopeModerationRead = "moderation:read"
102+ // ScopeModeratorManageAnnouncements provides access to send announcements
103+ // in channels where you have the moderator role.
104+ ScopeModeratorManageAnnouncements = "moderator:manage:announcements"
105+ // ScopeModeratorManageAutomod provides access to manage messages held for
106+ // review by AutoMod in channels where you are a moderator.
107+ ScopeModeratorManageAutomod = "moderator:manage:automod"
108+ // ScopeModeratorReadAutomodSettings provides access to view a broadcaster’s
109+ // AutoMod settings.
110+ ScopeModeratorReadAutomodSettings = "moderator:read:automod_settings"
111+ // ScopeModeratorManageAutomodSettings provides access to manage a broadcaster’s
112+ // AutoMod settings.
113+ ScopeModeratorManageAutomodSettings = "moderator:manage:automod_settings"
83114 // ScopeModeratorManageBannedUsers provides access to ban and unban users.
84115 ScopeModeratorManageBannedUsers = "moderator:manage:banned_users"
85116 // ScopeModeratorReadBlockedTerms provides access to view a broadcaster’s
@@ -88,35 +119,53 @@ const (
88119 // ScopeModeratorManageBlockedTerms provides access to manage a
89120 // broadcaster’s list of blocked terms.
90121 ScopeModeratorManageBlockedTerms = "moderator:manage:blocked_terms"
91- // ScopeModeratorManageAutoMod provides access to manage messages held for
92- // review by AutoMod in channels where you are a moderator.
93- ScopeModeratorManageAutoMod = "moderator:manage:automod"
94- // ScopeModeratorReadAutoModSettings provides access to view a broadcaster’s
95- // AutoMod settings.
96- ScopeModeratorReadAutoModSettings = "moderator:read:automod_settings"
97- // ScopeModeratorManageAutoModSettings provides access to manage a
98- // broadcaster’s AutoMod settings.
99- ScopeModeratorManageAutoModSettings = "moderator:manage:automod_settings"
122+ // ScopeModeratorManageChatMessages provides access to delete chat messages
123+ // in channels where you have the moderator role
124+ ScopeModeratorManageChatMessages = "moderator:manage:chat_messages"
100125 // ScopeModeratorReadChatSettings provides access to view a broadcaster’s
101126 // chat room settings.
102127 ScopeModeratorReadChatSettings = "moderator:read:chat_settings"
103128 // ScopeModeratorManageChatSettings provides access to manage a
104129 // broadcaster’s chat room settings.
105130 ScopeModeratorManageChatSettings = "moderator:manage:chat_settings"
131+ // ScopeModeratorReadChatters provides access to view the chatters
132+ // in a broadcaster’s chat room.
133+ ScopeModeratorReadChatters = "moderator:read:chatters"
134+ // ScopeModeratorReadFollowers provides access to read the followers of a broadcaster.
135+ ScopeModeratorReadFollowers = "moderator:read:followers"
136+ // ScopeModeratorReadGuestStar provides access to read Guest Star details
137+ // for channels where you are a Guest Star moderator.
138+ ScopeModeratorReadGuestStar = "moderator:read:guest_star"
139+ // ScopeModeratorManageGuestStar provides access to Manage Guest Star for
140+ // channels where you are a Guest Star moderator.
141+ ScopeModeratorManageGuestStar = "moderator:manage:guest_star"
142+ // ScopeModeratorReadShieldMode provides access to view a broadcaster’s
143+ // Shield Mode status.
144+ ScopeModeratorReadShieldMode = "moderator:read:shield_mode"
145+ // ScopeModeratorManageShieldMode provides access to manage a broadcaster’s
146+ // Shield Mode status.
147+ ScopeModeratorManageShieldMode = "moderator:manage:shield_mode"
148+ // ScopeModeratorReadShoutouts provides access to view a broadcaster’s shoutouts.
149+ ScopeModeratorReadShoutouts = "moderator:read:shoutouts"
150+ // ScopeModeratorManageShoutouts provides access to manage a broadcaster’s shoutouts.
151+ ScopeModeratorManageShoutouts = "moderator:manage:shoutouts"
106152 // ScopeUserEdit provides access to manage a user object.
107153 ScopeUserEdit = "user:edit"
108154 // ScopeUserEditFollows is deprecated. Was previously used for
109155 // “Create User Follows” and “Delete User Follows.”
110156 ScopeUserEditFollows = "user:edit:follows"
111- // ScopeUserManageBlockedUsers provides access to manage the block list of a
112- // user.
113- ScopeUserManageBlockedUsers = "user:manage:blocked_users"
114157 // ScopeUserReadBlockedUsers provides access to view the block list of a
115158 // user.
116159 ScopeUserReadBlockedUsers = "user:read:blocked_users"
160+ // ScopeUserManageBlockedUsers provides access to manage the block list of a
161+ // user.
162+ ScopeUserManageBlockedUsers = "user:manage:blocked_users"
117163 // ScopeUserReadBroadcast provides access to view a user’s broadcasting
118164 // configuration, including Extension configurations.
119165 ScopeUserReadBroadcast = "user:read:broadcast"
166+ // ScopeUserManageChatColor provides access to update the color use
167+ // for the user’s name in chat.
168+ ScopeUserManageChatColor = "user:manage:chat_color"
120169 // ScopeUserReadEmail provides access to view a user’s email address.
121170 ScopeUserReadEmail = "user:read:email"
122171 // ScopeUserReadFollows provides access to view the list of channels a user
@@ -125,6 +174,20 @@ const (
125174 // ScopeUserReadSubscriptions provides access to view if an authorized user
126175 // is subscribed to specific channels.
127176 ScopeUserReadSubscriptions = "user:read:subscriptions"
177+ // ScopeUserManageWhispers provides access to read whispers that you send and receive,
178+ // and send whispers on your behalf.
179+ ScopeUserManageWhispers = "user:manage:whispers"
180+ // ScopeChannelModerate provides access to perform moderation actions in a channel.
181+ // The user requesting the scope must be a moderator in the channel.
182+ ScopeChannelModerate = "channel:moderate"
183+ // ScopeChatEdit provides access to send live stream chat messages.
184+ ScopeChatEdit = "chat:edit"
185+ // ScopeChatRead provides access to view live stream chat messages.
186+ ScopeChatRead = "chat:read"
187+ // ScopeWhispersRead provides access to view your whisper messages.
188+ ScopeWhispersRead = "whispers:read"
189+ // ScopeWhispersEdit provides access to send whisper messages.
190+ ScopeWhispersEdit = "whispers:edit"
128191
129192 // ScopeChannelSubscriptions is a v5 scope.
130193 ScopeChannelSubscriptions = ScopeChannelReadSubscriptions
0 commit comments