On this page
Phone
makePhoneCall
TIP
The API usage is as follows: wx.makePhoneCall(Object object)
Functional description: Make a call
Parameters and descriptions: Object object。
Properties Type Default value Required Description phoneNumber string - Yes The phone number to be dialed success Function - No Callback function for successful interface call fail Function - No Callback function for failed interface call complete Function - No Callback function for interface call completion (executed regardless of success or failure) Sample code:
js
wx.makePhoneCall({
phoneNumber: '1340000' // This is merely an example and not an actual phone number.
})