Skip to content

MessageDisplayHookInput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  1701359885["hooks.MessageDisplayHookInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 1701359885
  2751680898 --> 2645524081

🛈 DocStrings

Bases: BaseHookInput

Input data for MessageDisplay hook events (assistant text being displayed).

Source code in src/clawd_code_sdk/models/hooks.py
class MessageDisplayHookInput(BaseHookInput):
    """Input data for MessageDisplay hook events (assistant text being displayed)."""

    hook_event_name: Literal["MessageDisplay"]
    turn_id: str
    message_id: str
    index: int
    final: bool
    delta: str

:fa-brands-github: Show source on GitHub