BotVersionActivation Class
Access and update activation information of a bot version.
These methods are for BotVersionActivation. All methods are static.
-
getVersionActivationInfo(botVersionId)
Get the active or inactive status of the bot version.
-
updateVersionStatus(botVersionId, status, postBody)
Update the status of the specified bot version.
Get the active or inactive status of the bot version.
50.0
No
public static ConnectApi.BotVersionActivationInfo getVersionActivationInfo(String botVersionId)
- botVersionId
Type: String
ID of the bot version.
Type: ConnectApi.BotVersionActivationInfo
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.
Update the status of the specified bot version.
50.0
No
public static ConnectApi.BotVersionActivationInfo updateVersionStatus(String botVersionId, ConnectApi.BotVersionActivationStatus status, ConnectApi.BotVersionActivationInput postBody)
botVersionId
Type: String
ID of the bot version.
status
Type: ConnectApi.BotVersionActivationStatus
Activation status of the bot version. Values are:
ActiveInactive
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.
Type: ConnectApi.BotVersionActivationInfo
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.