POST Bot/CreateCommand

Request Information

URI Parameters

None.

Body Parameters

BotCommandCreateForm
NameDescriptionTypeAdditional information
name

string

None.

usageHint

string

None.

shortDesc

string

None.

ctx

BotCommandContext

None.

wmid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "usageHint": "sample string 2",
  "shortDesc": "sample string 3",
  "ctx": 1,
  "wmid": "sample string 4"
}

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1