from pydantic import BaseModel


class ButtonPressedEvent(BaseModel):
    """
    Represents a button press event from the UI.

    :ivar type: The type of event (e.g., 'speech', 'gesture', 'override').
    :ivar context: Additional data associated with the event (e.g., speech text, gesture name,
    or ID).
    """

    type: str
    context: str
