majorParameter
majorParameter(
path):string
Defined in: packages/rest/src/route.ts:47
Discord’s major parameters — the resource ids that give an endpoint its own
independent rate limit. Per the API documentation these are channel_id,
guild_id and webhook_id; webhook routes are additionally scoped by
their token. Any other id in a path shares its limit with sibling resources.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string