sendMessage
Requests to send a message.
Description
vcc.sendMessage(data: object): void
Parameters
data
Message body.
Return values
none
Example
You want to send the values of some fields (e.g. phone_number).
$('ba').onLoad = function() {
var value = vcc.getFieldValue('field');
var phone = vcc.getFieldValue('phone1');
var data = {
field: value,
phone_number: phone
};
vcc.sendMessage(data);
};
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.