A submit as a modal's handler receives it: metadata decoded,
values one per input decoded (None for an optional input left
empty, none for text), message_id None when a command opened
the modal.
Attributes#
| Attribute | Type | Description |
|---|---|---|
id | str | |
metadata | M_co | |
values | Mapping[str, Any] | |
thread | ChatThread | |
message_id | str | None | |
user_id | str | |
raw | JsonValue |
Functions#
__init__#
__init__(*, id, metadata, values, thread, message_id, user_id, raw) -> None| Parameter | Type | Description |
|---|---|---|
id | str | |
metadata | M_co | |
values | Mapping[str, Any] | |
thread | ChatThread | |
message_id | str | None | |
user_id | str | |
raw | JsonValue |