row_update_one
Coroutineà attendre avec await
Comme row_update, mais seulement si exactement une rangée correspond.
from discord_interactions import row_update_oneSignature
async def row_update_one( message: Any, row_selector: str | int | Callable[[Dict[str, Any], int], bool], updater: Callable[[Dict[str, Any]], Dict[str, Any] | None] | Callable[[Dict[str, Any]], Awaitable[Dict[str, Any] | None]],) -> boolParamètres
| Nom | Type | Défaut | Description |
|---|---|---|---|
message | Any | requis | |
row_selector | str | int | Callable[[Dict[str, Any], int], bool] | requis | |
updater | Callable[[Dict[str, Any]], Dict[str, Any] | None] | Callable[[Dict[str, Any]], Awaitable[Dict[str, Any] | None]] | requis |
Retour
bool