create_section
Fonction
Section (type 9) : 1 à 3 textes avec un accessoire, bouton ou miniature.
from discord_interactions import create_sectionSignature
def create_section( *texts: Any, accessory: Any, component_id: int | None = None,) -> Dict[str, Any]Paramètres
| Nom | Type | Défaut | Description |
|---|---|---|---|
*texts | Any | ||
accessory | Any | requis | Bouton ou miniature affiché à droite. |
component_id | int | None | None |
Retour
Dict[str, Any]