Close dialog
Closes an existing dialog
Function CloseDialog(Val Token, Val Dialog) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Bot token |
Dialog | --conv | String | ✔ | Dialog ID |
Returns: Map Of KeyAndValue - serialized JSON response from Slack
1C:Enterprise/OneScript code example
Token = "xoxb-6965308400114-696804637...";
Dialog = "D06UAKK1C6R";
Result = OPI_Slack.CloseDialog(Token, Dialog);
- Bash
- CMD/Bat
oint slack CloseDialog \
--token "***" \
--conv "D06UAKK1C6R"
oint slack CloseDialog ^
--token "***" ^
--conv "D06UAKK1C6R"
Result
{
"ok": true,
"already_closed": false,
"no_op": false
}