tencent cloud

Tencent Cloud Super App as a Service

SMS

PDF
Focus Mode
Font Size
Last updated: 2024-11-21 18:48:11

sendSms

This API is used via wx.sendSms(Object object).
Feature Description: Initiates the mobile interface for sending SMS.
Parameter and Description: Object
Attribute
Type
Default value
Required
Description
phoneNumber
string
-
No
Mobile number pre-filled in the SMS sending panel
content
string
-
No
Pre-filled content in the SMS sending panel
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)


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback