Views: 1620
Last Modified: 23.05.2022
Delete application for chat
Method call
$result = restCommand('imbot.app.unregister', Array(
'APP_ID' => 13, // Идентификатор команды для удаления
), $_REQUEST["auth"]);
Return:
true
or an error.
Possible errors:
Error code | Error description |
CHAT_APP_ID_ERROR |
Application not found. |
APP_ID_ERROR |
Application for chat is not part of this REST-application, you can work with application for chat, installed within current REST-application framework. |
WRONG_REQUEST |
Something went wrong. |
|