create_text_display_component
Function
Markdown text block (type 10), up to 4000 characters.
from discord_interactions import create_text_display_componentAliases create_text_display
Signature
def create_text_display_component( content: str, component_id: int | None = None,) -> Dict[str, Any]Parameters
| Name | Type | Default | Description |
|---|---|---|---|
content | str | required | Markdown text: # headings, lists, -# for subtle text. |
component_id | int | None | None |
Returns
Dict[str, Any]