Expand description
Markers for various resource types, such as channels or users.
Markers themselves perform no logical action, and are only used to
ensure that IDs of incorrect types aren’t used. If IDs were only 64-bit
integers then a role’s ID may be erroneously used in the place of where
a user’s ID is required; by using markers it can be ensured that only an
ID with a RoleMarker
can be used where a role’s ID is required.
Structs§
- Marker for application IDs.
- Marker for attachment IDs.
- Marker for audit log entry IDs.
- Marker for auto moderation rule IDs.
- SKU ID marker for avatar decoration data.
- Marker for channel IDs.
- Marker for command IDs.
- Marker for command versions.
- Marker for emoji IDs.
- Marker for entitlement IDs.
- Marker for generic IDs.
- Marker for guild IDs.
- Marker for integration IDs.
- Marker for interaction IDs.
- Marker for message IDs.
- Marker for OAuth SKU IDs.
- Marker for OAuth team IDs.
- Marker for onboarding prompt IDs.
- Marker for onboarding prompt option IDs.
- Marker for role IDs.
- Marker for SKU IDs.
- Marker for scheduled event entity IDs.
- Marker for scheduled event IDs.
- Marker for entitlement SKU IDs.
- Marker for stage IDs.
- Marker for sticker banner asset IDs.
- Marker for sticker IDs.
- Marker for sticker pack IDs.
- Marker for sticker pack SKU IDs.
- Marker for forum tag IDs.
- Marker for user IDs.
- Marker for webhook IDs.