Skip to content

TryItOutMessage

faststream.asgi.factories.asyncapi.try_it_out.TryItOutMessage #

Bases: TypedDict

Wrapper sent by asyncapi-try-it-plugin.

The plugin always wraps the user's payload inside a nested message field together with operation metadata::

{
    "operation_id": "...",
    "operation_type": "...",
    "message": <actual_user_payload>
}

operation_id instance-attribute #

operation_id: str

operation_type instance-attribute #

operation_type: str

message instance-attribute #

message: Any