Class RCSBusinessMessaging.Phones.Capability

  • Enclosing class:
    RCSBusinessMessaging.Phones

    public class RCSBusinessMessaging.Phones.Capability
    extends java.lang.Object
    The "capability" collection of methods.
    • Constructor Detail

      • Capability

        public Capability()
    • Method Detail

      • requestCapabilityCallback

        public RCSBusinessMessaging.Phones.Capability.RequestCapabilityCallback requestCapabilityCallback​(java.lang.String name,
                                                                                                          RequestCapabilityCallbackRequest content)
                                                                                                   throws java.io.IOException
        Requests a callback containing the capabilities of a user. Following this request, the agent receives an asynchronous callback with the user's capabilities. Create a request for the method "capability.requestCapabilityCallback". This request holds the parameters needed by the rcsbusinessmessaging server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        name - "phones/{E.164}/capability", where {E.164} is the user's phone number in E.164 format. For example, with the US phone number +1-222-333-4444, the resulting endpoint would be https://rcsbusin essmessaging.googleapis.com/v1/phones/+12223334444/capability:requestCapabilityCallback
        content - the RequestCapabilityCallbackRequest
        Returns:
        the request
        Throws:
        java.io.IOException