POST Discuss/BotCommandExec

Request Information

URI Parameters

None.

Body Parameters

DiscussBotCommandExecForm
NameDescriptionTypeAdditional information
commandId

integer

None.

data

BaseShortDiscussBotForm

None.

messageFormat

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

MessageFormat

None.

Request Formats

application/json, text/json

Sample:
{
  "commandId": 1,
  "data": {
    "parentId": 1,
    "eventId": 2,
    "postText": "sample string 4",
    "editorMode": 0
  },
  "messageFormat": 0
}

Response Information

Resource Description

DiscussBotCommandResView
NameDescriptionTypeAdditional information
author

UserPublicDataView

None.

bot

BotPublicDataView

None.

resultType

BotCommandActionType

None.

result

IDiscussBotCommandResDataView

None.

Response Formats

application/json, text/json

Sample:

Sample not available.