POST Message/BotCommandExec

Request Information

URI Parameters

None.

Body Parameters

MessageBotCommandExecForm
NameDescriptionTypeAdditional information
commandId

integer

None.

data

MessageCommandExecForm

None.

messageFormat

Формат вывода текста

MessageFormat

None.

Request Formats

application/json, text/json

Sample:
{
  "commandId": 1,
  "data": {
    "corrWmid": "sample string 1",
    "postText": "sample string 3",
    "editorMode": 0
  },
  "messageFormat": 0
}

Response Information

Resource Description

MessageBotCommandResView
NameDescriptionTypeAdditional information
author

UserPublicDataView

None.

bot

BotPublicDataView

None.

resultType

BotCommandActionType

None.

result

IMessageBotCommandResDataView

None.

Response Formats

application/json, text/json

Sample:

Sample not available.