tencent cloud

Phone Call
Last updated: 2025-02-25 16:53:06
Phone Call
Last updated: 2025-02-25 16:53:06

makePhonecall

This API is used via wx.makePhoneCall(Object object).
Feature Description: Initiates a phone call.
Parameter: Object.
Attribute
Type
Default value
Required
Description
phoneNumber
string
-
Yes
The phone number that needs to be dialed
success
function
-
No
Callback Function of Successful Interface Call
fail
function
-
No
Callback Function of Failing Interface Call
complete
function
-
No
Callback function executed upon the completion of the interface invocation (both successful and unsuccessful invocations)
Sample Code
wx.makePhoneCall({
phoneNumber: '1340000' // This is merely an example and not an actual phone number.
})

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback