POST Chat/BotCommandExec
Request Information
URI Parameters
None.
Body Parameters
MessageBotCommandExecFormName | Description | Type | Additional information |
---|---|---|---|
commandId | integer |
None. |
|
data | MessageCommandExecForm |
None. |
|
messageFormat |
Формат вывода текста |
MessageFormat |
None. |
Request Formats
application/json, text/json
Sample:
{ "commandId": 1, "data": { "corrWmid": "sample string 1", "chatUid": "sample string 2", "postText": "sample string 4", "editorMode": 0, "repost": null }, "messageFormat": 0 }
Response Information
Resource Description
MessageBotCommandResViewName | Description | Type | Additional information |
---|---|---|---|
author | UserPublicDataView |
None. |
|
bot | BotPublicDataView |
None. |
|
resultType | BotCommandActionType |
None. |
|
result | IMessageBotCommandResDataView |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.