This is where you will find all the documentation related to our MSISDN APIs.
Gets the user phone number
Ayoba.getMsisdn()
function getMsisdn() {
var msisdn = Ayoba.getMsisdn();
return msisdn
}
function getSelfJid() {
var selfJid = getURLParameter("jid")
document.getElementById("inputText").value = selfJid
return selfJid
}
The following method must be implemented to retrieve the call response:
function getSelfJid()
Puts a text on the compose bar of the chat screen without sending the message
Ayoba.composeMessage(message);
Ayoba.composeMessage(message);
Sends a chat message directly without putting the text on the compose bar of the chat screen
Ayoba.sendMessage(message)
Ayoba.sendMessage(message);
Returns true if the user has accepted the permission to send a message.
Ayoba.getCanSendMessage()
Ayoba.getCanSendMessage()
Sends an event to Ayoba application to start conversation on the service.
ayoba.startConversation(jid);
string jid = "62c3bdfffc5c7c3bb30bc7beda52531d2d2df@dev.ayoba.me";
function startConversation() {
ayoba.startConversation(jid);
}
That’s all to read on the MSISDN documents. Continue to learn more about our APIs, next is some documentation on our Location APIs
Previous
Getting Started
Next
Location