Rate Limit Operations¶ Rate limiting operations. async shared.database.operations.rate_limit.check_rate_limit(user_id, action_type)[source]¶ Check if user action is within rate limits. Parameters: user_id (int) – Internal user ID (not telegram_id) action_type (str) – Type of action being performed Return type: Tuple[bool, str] Returns: Tuple of (allowed: bool, reason: str)