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"
|
|
|
|
ScopeChannelReadRedemptions = "channel:read:redemptions"
|
|
|
|
ScopeModeratorManageAnnoucements = "moderator:manage:announcements"
|
|
|
|
ScopeModeratorManageBannedUsers = "moderator:manage:banned_users"
|
|
|
|
ScopeModeratorManageChatMessages = "moderator:manage:chat_messages"
|
|
|
|
ScopeModeratorManageChatSettings = "moderator:manage:chat_settings"
|
|
|
|
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
|
|
|
)
|