Class CommandConfig
Defined in: sdk.js.
Constructor Attributes | Constructor Name and Description |
---|---|
This object models a command message sent to a bot instance.
|
Field Attributes | Field Name and Description |
---|---|
Request the response avatar media in a video or image format.
|
|
Request the response avatar media in HD.
|
|
Escape and filter the response message HTML content for XSS security.
|
|
Method Attributes | Method Name and Description |
---|---|
toXML()
|
Class Detail
CommandConfig()
This object models a command message sent to a bot instance.
It can be used to send JSON events and commands to the bot to process.
It can convert itself to XML for web API usage.
Field Detail
action
avatarFormat
Request the response avatar media in a video or image format.
avatarHD
Request the response avatar media in HD.
conversation
correction
debug
debugLevel
disconnect
emote
learn
message
offensive
secure
Escape and filter the response message HTML content for XSS security.
speak
Method Detail
toXML()