2021-12-24 23:47:40 +00:00
|
|
|
package twitch
|
|
|
|
|
2024-01-01 16:52:18 +00:00
|
|
|
// Collection of known API scopes
|
2021-12-24 23:47:40 +00:00
|
|
|
const (
|
2021-12-31 12:42:37 +00:00
|
|
|
// API Scopes
|
2024-04-06 16:40:18 +00:00
|
|
|
ScopeChannelBot = "channel:bot"
|
|
|
|
ScopeChannelEditCommercial = "channel:edit:commercial"
|
|
|
|
ScopeChannelManageAds = "channel:manage:ads"
|
|
|
|
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"
|
|
|
|
ScopeChannelReadAds = "channel:read:ads"
|
|
|
|
ScopeChannelReadHypetrain = "channel:read:hype_train"
|
|
|
|
ScopeChannelReadPolls = "channel:read:polls"
|
|
|
|
ScopeChannelReadRedemptions = "channel:read:redemptions"
|
|
|
|
ScopeChannelReadSubscriptions = "channel:read:subscriptions"
|
|
|
|
ScopeClipsEdit = "clips:edit"
|
|
|
|
ScopeModeratorManageAnnoucements = "moderator:manage:announcements"
|
|
|
|
ScopeModeratorManageBannedUsers = "moderator:manage:banned_users"
|
|
|
|
ScopeModeratorManageChatMessages = "moderator:manage:chat_messages"
|
|
|
|
ScopeModeratorManageChatSettings = "moderator:manage:chat_settings"
|
|
|
|
ScopeModeratorManageShieldMode = "moderator:manage:shield_mode"
|
|
|
|
ScopeModeratorManageShoutouts = "moderator:manage:shoutouts"
|
|
|
|
ScopeModeratorReadFollowers = "moderator:read:followers"
|
|
|
|
ScopeModeratorReadShoutouts = "moderator:read:shoutouts"
|
|
|
|
ScopeModeratorReadSuspiciousUsers = "moderator:read:suspicious_users"
|
|
|
|
ScopeUserBot = "user:bot"
|
|
|
|
ScopeUserManageChatColor = "user:manage:chat_color"
|
|
|
|
ScopeUserManageWhispers = "user:manage:whispers"
|
|
|
|
ScopeUserReadChat = "user:read:chat"
|
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
|
|
|
)
|