SmsAsyncClient Class
- java.
lang. Object - com.
azure. communication. sms. SmsAsyncClient
- com.
public final class SmsAsyncClient
Async client for sending SMS messages with Azure Communication SMS Service.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Mono<Iterable<Sms |
send(String from, Iterable<String> to, String message)
Sends an SMS message from a phone number that belongs to the authenticated account. |
|
Mono<Sms |
send(String from, String to, String message)
Sends an SMS message from a phone number that belongs to the authenticated account. |
|
Mono<Sms |
send(String from, String to, String message, SmsSendOptions options)
Sends an SMS message from a phone number that belongs to the authenticated account. |
|
Mono<Response<Iterable<Sms |
sendWithResponse(String from, Iterable<String> to, String message, SmsSendOptions options)
Sends an SMS message from a phone number that belongs to the authenticated account. |
Methods inherited from java.lang.Object
Method Details
send
public Mono<Iterable<SmsSendResult>> send(String from, Iterable<String> to, String message)
Sends an SMS message from a phone number that belongs to the authenticated account.
Parameters:
Returns:
send
public Mono<SmsSendResult> send(String from, String to, String message)
Sends an SMS message from a phone number that belongs to the authenticated account.
Parameters:
Returns:
send
public Mono<SmsSendResult> send(String from, String to, String message, SmsSendOptions options)
Sends an SMS message from a phone number that belongs to the authenticated account.
Parameters:
Returns:
sendWithResponse
public Mono<Response<Iterable<SmsSendResult>>> sendWithResponse(String from, Iterable<String> to, String message, SmsSendOptions options)
Sends an SMS message from a phone number that belongs to the authenticated account.
Parameters:
Returns: