@Validated public interface ISmsSenderProvider extends IServiceProvider
| Modifier and Type | Method and Description |
|---|---|
void |
sendSms(@NotBlank String messageId,
@NotNull @Valid ContactBean from,
@NotNull @Valid ContactBean recipient,
@NotBlank String message)
Send a SMS message to a recipient number.
|
getNamevoid sendSms(@NotBlank
@NotBlank String messageId,
@NotNull @Valid
@NotNull @Valid ContactBean from,
@NotNull @Valid
@NotNull @Valid ContactBean recipient,
@NotBlank
@NotBlank String message)
messageId - A unique id for this sms operationfrom - The sender numberrecipient - The recipient numbermessage - The messageProviderException - If any problem sending the message was producedIllegalArgumentException - If from or recipient or both, are not of ECommunicationChannelType.SMS typeCopyright © 2021 Albirar. All rights reserved.