Message Sending Input • AI Agent SDK

MessageSendingInput: Input for MESSAGE_SENDING hooks (bot about to send a message).

MessageSendingInput

Defined in the events module.

AI Agent

Input for MESSAGE_SENDING hooks (bot about to send a message).

Hooks can modify content or cancel the send by returning HookResult with decision=DENY.

Properties

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField Optional[str]

No description available.

Internal & Generic Methods
  • to_dict: Generic utility method.

Source

View on GitHub

praisonaiagents/hooks/events.py at line 321