First of all, limits are practically unknown; in fact, the 30 msgs/sec on users and the 20 msgs/min/group limit is all we know (for bots). A rate limiter will basically have to deal with only these known limits.
Normal bots and users have different limits, and while the bot limits are somewhat "documented", there's no documentation that hints about the limits on users.