Updates: Check the release notes for new features and product updates.

CapabilityCallbackResponse

The RBM capability of a user. This response is the result of a capability.requestCapabilityCallback request from the agent.

The CapabilityCallbackResponse appears in the "data" field of the "message" object that the agent receives from its Google Cloud Pub/Sub subscription. The "data" field is a base64-encoded string that the agent must decode to match the CapabilityCallbackResponse structure.

JSON representation
{
  "requestId": string,
  "phoneNumber": string,
  "rbmEnabled": boolean,
  "features": [
    enum(Feature)
  ],
}
Fields
requestId

string

The UUID assigned by the agent to the capability.requestCapabilityCallback request.

phoneNumber

string

Phone number of the user in E.164 format.

rbmEnabled

boolean

Whether the user is capable of participating in RBM conversations with agents.

features[]

enum(Feature)

List of all RBM features which are supported for this phone number