pub const fn get_reactions_limit(limit: u16) -> Result<(), ValidationError>
Expand description
Ensure that the limit for the Get Reactions endpoint is correct.
The limit must be at least GET_REACTIONS_LIMIT_MIN
and at most
GET_REACTIONS_LIMIT_MAX
. This is based on this documentation entry.
ยงErrors
Returns an error of type GetReactions
if the limit is invalid.