package
0.0.0-20231212143655-048a247f3aa4
Repository: https://github.com/seventv/common.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewAuditLogBuilder creates a new Builder utility for an Audit Log.
NewRoleBuilder: create a new role builder.
NewEmoteBuilder: create a new emote builder.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewReportBuilder: create a new report builder.
NewRoleBuilder: create a new role builder.
NewUserBuilder: create a new user builder.
NewUserConnectionBuilder: create a new user connection builder.
# Constants
262144 - Overrides BetterTTV emotes with the same name.
524288 - Overrides FrankerFaceZ emotes with the same name.
65536 - Overrides Twitch Global emotes with the same name.
131072 - Overrides Twitch Subscriber emotes with the same name.
256 - Emote is pending review.
1 - Emote is zero-width.
No description provided by the author
No description provided by the author
user was banned.
emote was created.
emote set was created.
Range: 80-89 (Report).
user was created.
emote was deleted.
emote set was deleted.
user was deleted.
emote was disabled.
user was edited.
emote was enabled.
emote was merged.
a new processing job was ran for this emote.
Range: 90-110 (Messaging).
an attempt to access a privileged area was rejected.
a CSRF token was signed.
a user token was signed.
user was unbanned.
deleted emote was restored.
emote was updated.
emote set was updated.
No description provided by the author
The banned user's IP will be blocked from accessing all services.
The banned user is never returned by the API to non-privileged users.
Prevents the banned user from authenticating.
Any object owned by the banned user will no longer be returned by the API.
Strip the banned user of all permissions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The emote was verified to be an original creation by the uploader.
Edgy or distasteful, may be offensive to some users.
Rapid flashing.
Sexually Suggesive.
Not allowed specifically on the Twitch platform.
The emote is private and can only be accessed by its owner, editors and moderators.
The emote is recommended to be enabled as Zero-Width.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
8 - Set is distributed via a purchase, meaning its content must be approved for commercial use by rightsholders.
1 - Set is immutable, meaning it cannot be modified.
4 - Set can be personally entitled to a user, meaning its content can be used globally but may require additional review by content moderators.
2 - Set is privileged, meaning it can only be modified by its owner or a super administrator, regardless of the "Edit Any Emote Set" permission.
No description provided by the author
No description provided by the author
Badge Entitlement.
Emote Set Entitlement.
Badge Entitlement.
Role Entitlement.
Subscription Entitlement.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
a comment.
an inbox message.
a moderator action request.
a news post.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
All permissions.
281474976710656 - (Mod) Lets the user see all non-public content.
1 - Allows creating emotes.
4 - Allows creating emote sets.
8192 - Allows creating reports.
2199023255552 - (Mod) Allows editing any emote.
4398046511104 - (Mod) Allows editing any emote set, unless it is a privileged set.
2 - Allows editing emotes.
8 - Allows creating and modifying emote sets.
33554432 - The user's messages will become prioritized.
16777216 - Allows the user's profile picture to be animated.
8388608 - Allows using the Zero-Width emote type.
1073741824 - (Mod) Allows creating or deleting bans.
18014398509481984 - (Admin) Allows managing featured content or publish items of significance.
72057594037927936 - (Admin) Allows managing user cosmetics.
288230376151711744 - (Admin) Allows managing entitlements.
4294967296 - (Mod) Allows managing reports.
2147483648 - (Mod) Allows creating, deleting and assigning roles to users.
36028797018963968 - (Admin) Allows managing the application stack.
8589934592 - (Mod) Allows managing users.
144115188075855872 - (Admin) Allows firing processing jobs.
16384 - Allows sending messages (i.e comments or user inboxs).
4611686018427387904 - (Admin) GRANTS EVERY PERMISSION /!\.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
32 - Allows managing billing and payments, such as subscriptions.
64 - Allows adding or removing editors for the user.
16 - Allows managing the user's owned emote sets.
8 - Allows managing the user's owned emotes.
4 - Allows managing the user's public profile.
1 - Allows modifying emotes in the user's active emote sets.
2 - Allows using the user's private emotes.
128 - Allows viewing the user's private messages, such as inbox.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EmoteBuilder Wraps an Emote and offers methods to fetch and mutate emote data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Entitlement is a binding between a resource and a user It grants the user access to the bound resource and may define some additional properties on top.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EntitledBadge Badge binding in an Entitlement.
No description provided by the author
No description provided by the author
EntitledEmoteSet Emote Set binding in an Entitlement.
No description provided by the author
EntitledRole Role binding in an Entitlement.
EntitledSubscription Subscription binding in an Entitlement.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MessageRead read/unread state for a message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
User A standard app user object.
No description provided by the author
No description provided by the author
UserConnection: Represents an external connection to a platform for a user.
UserConnectionBuilder: utility for creating a new UserConnection.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EntitlementKind A string representing a kind of entitlement.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RolePermission Role permission bits.
No description provided by the author
No description provided by the author
No description provided by the author
UserConnectionPlatform Represents a platform that the app supports.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author