2021-12-24 23:47:40 +00:00
|
|
|
package twitch
|
|
|
|
|
|
|
|
const (
|
2021-12-31 12:42:37 +00:00
|
|
|
// API Scopes
|
2022-10-25 16:47:30 +00:00
|
|
|
ScopeChannelEditCommercial = "channel:edit:commercial"
|
|
|
|
ScopeChannelManageBroadcast = "channel:manage:broadcast"
|
|
|
|
ScopeChannelManageModerators = "channel:manage:moderators"
|
|
|
|
ScopeChannelManagePolls = "channel:manage:polls"
|
|
|
|
ScopeChannelManagePredictions = "channel:manage:predictions"
|
|
|
|
ScopeChannelManageRaids = "channel:manage:raids"
|
|
|
|
ScopeChannelManageRedemptions = "channel:manage:redemptions"
|
|
|
|
ScopeChannelManageVIPS = "channel:manage:vips"
|
|
|
|
ScopeChannelManageWhispers = "user:manage:whispers"
|
2023-05-21 12:59:06 +00:00
|
|
|
ScopeChannelReadPolls = "channel:read:polls"
|
2022-10-25 16:47:30 +00:00
|
|
|
ScopeChannelReadRedemptions = "channel:read:redemptions"
|
2023-04-22 20:23:35 +00:00
|
|
|
ScopeChannelReadSubscriptions = "channel:read:subscriptions"
|
2022-10-25 16:47:30 +00:00
|
|
|
ScopeModeratorManageAnnoucements = "moderator:manage:announcements"
|
|
|
|
ScopeModeratorManageBannedUsers = "moderator:manage:banned_users"
|
|
|
|
ScopeModeratorManageChatMessages = "moderator:manage:chat_messages"
|
|
|
|
ScopeModeratorManageChatSettings = "moderator:manage:chat_settings"
|
2023-02-04 12:59:18 +00:00
|
|
|
ScopeModeratorManageShieldMode = "moderator:manage:shield_mode"
|
2023-01-20 11:13:59 +00:00
|
|
|
ScopeModeratorManageShoutouts = "moderator:manage:shoutouts"
|
2023-02-04 11:25:46 +00:00
|
|
|
ScopeModeratorReadFollowers = "moderator:read:followers"
|
2023-02-11 22:00:15 +00:00
|
|
|
ScopeModeratorReadShoutouts = "moderator:read:shoutouts"
|
2022-10-25 16:47:30 +00:00
|
|
|
ScopeUserManageChatColor = "user:manage:chat_color"
|
2021-12-31 12:42:37 +00:00
|
|
|
|
2022-01-09 16:35:32 +00:00
|
|
|
// Deprecated v5 scope but used in chat
|
|
|
|
ScopeV5ChannelEditor = "channel_editor"
|
|
|
|
|
2021-12-31 12:42:37 +00:00
|
|
|
// Chat Scopes
|
2022-10-25 16:47:30 +00:00
|
|
|
ScopeChatEdit = "chat:edit" // Send live stream chat and rooms messages.
|
|
|
|
ScopeChatRead = "chat:read" // View live stream chat and rooms messages.
|
|
|
|
ScopeWhisperRead = "whispers:read" // View your whisper messages.
|
2021-12-24 23:47:40 +00:00
|
|
|
)
|