public static final class SendBatchSmsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SendBatchSmsRequest |
build() |
SendBatchSmsRequest.Builder |
outId(String outId)
The extension field of the external record.
|
SendBatchSmsRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
SendBatchSmsRequest.Builder |
phoneNumberJson(String phoneNumberJson)
The mobile number of the recipient.
|
SendBatchSmsRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
SendBatchSmsRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
SendBatchSmsRequest.Builder |
signNameJson(String signNameJson)
The signature.
|
SendBatchSmsRequest.Builder |
smsUpExtendCodeJson(String smsUpExtendCodeJson)
The extension code of the MO message.
|
SendBatchSmsRequest.Builder |
templateCode(String templateCode)
The code of the message template.
|
SendBatchSmsRequest.Builder |
templateParamJson(String templateParamJson)
The value of the variable in the message template.
|
public SendBatchSmsRequest.Builder outId(String outId)
> The parameter is optional.
public SendBatchSmsRequest.Builder ownerId(Long ownerId)
public SendBatchSmsRequest.Builder phoneNumberJson(String phoneNumberJson)
* Message delivery to the Chinese mainland: +/+86/0086/86 or an 11-digit mobile number without a prefix. Example: 1590000\*\*\*\*. * Message delivery to countries or regions outside the Chinese mainland: Dialing code + Mobile number. Example: 852000012\*\*\*\*. > We recommend that you call the SendSms operation to send verification codes.
public SendBatchSmsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public SendBatchSmsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public SendBatchSmsRequest.Builder signNameJson(String signNameJson)
Log on to the Alibaba Cloud SMS console. In the left-side navigation pane, click **Go Globe** or **Go China**. You can view the signature in the **Signature** column on the **Signatures** tab. > The signatures must be approved and correspond to the mobile numbers in sequence.
public SendBatchSmsRequest.Builder smsUpExtendCodeJson(String smsUpExtendCodeJson)
> The parameter is optional.
public SendBatchSmsRequest.Builder templateCode(String templateCode)
Log on to the Alibaba Cloud SMS console. In the left-side navigation pane, click **Go Globe** or **Go China**. You can view the message template in the **Template Code** column on the **Message Templates** tab. > The message templates must be created on the Go Globe page and approved.
public SendBatchSmsRequest.Builder templateParamJson(String templateParamJson)
> If you need to add line breaks to the JSON template, make sure that the format is valid. In addition, the sequence of variable values must be the same as that of the mobile numbers and signatures.
public SendBatchSmsRequest build()
Copyright © 2024. All rights reserved.