"""Shared message processing context."""

from __future__ import annotations

from dataclasses import dataclass

from bot.domain.settings import ChatSettings


@dataclass(slots=True)
class MessageContext:
    chat_id: int
    user_id: int
    privileged: bool
    bot_is_admin: bool
    settings: ChatSettings
    locks: set[str]
