Phone

The value for this input datatype will be available in the session object in the following format:

Attribute NameDatatype Description
MetamapPhone Meta (A)
ValuemapThe value of the phone number ex: 08883169888

Phone Meta (A)

Attribute NameDatatype Description
TypeString'phone'
valueString'08883169888'

Sample Code:

Format received in input "session" object:

Copied{
      "meta":{
         "type":"phone",
         "value":"08883169888"
      },
      "value":"08883169888"
   }

Format to be returned in response object:

Copiedresponse=map();
response.put('phone' , “08883169888”);
return response;