BotVersionActivation Class
Namespace
BotVersionActivation Methods
getVersionActivationInfo(botVersionId)
API Version
50.0
Requires Chatter
No
Signature
public static ConnectApi.BotVersionActivationInfo getVersionActivationInfo(String botVersionId)
Parameters
- botVersionId
- Type: String
- ID of the bot version.
Return Value
Usage
To access this method, enable the bot feature, and the user must be an admin or have the Manage Bots or Manage Bots Training Data user permissions.
updateVersionStatus(botVersionId, status, postBody)
API Version
50.0
Requires Chatter
No
Signature
public static ConnectApi.BotVersionActivationInfo updateVersionStatus(String botVersionId, ConnectApi.BotVersionActivationStatus status, ConnectApi.BotVersionActivationInput postBody)
Parameters
botVersionId
Type: String
ID of the bot version.
status
Type: ConnectApi.BotVersionActivationStatus
Activation status of the bot version. Values are:
- Active
- Inactive
Activation status must be specified in the status or postBody parameter.
postBody
Type: ConnectApi.BotVersionActivationInput
Parameters to update for the bot version. Activation status must be specified in the status or postBody parameter.
Return Value
Usage
To access this method, enable the bot feature, and the user must be an admin or have the Manage Bots or Manage Bots Training Data user permissions.