WeChat Open Platform

Mini Programs Documentation

Make phone calls


OBJECT parameter descriptions:

Parameter Type Required Description
phoneNumber String Yes Telephone number that needs to be called
success Function No Callback for successful interface call
fail Function No Callback function for failed interface call
complete Function No Callback function for interface call results (will be executed if call succeeds or fails)

Sample code:

  phoneNumber: '1340000' //example only, not a real telephone number