SmsMessage
Namespace: Wisej.Hybrid.Shared.Communication
Assembly: Wisej.Hybrid
Represents a single SMS message.
- C#
- VB.NET
public class SmsMessage
Public Class SmsMessage
Constructors
SmsMessage()
Initializes a new instance of the SmsMessage class.
SmsMessage(body, recipient)
Initializes a new instance of the SmsMessage class.
| Name | Type | Description |
|---|---|---|
| body | String | The body text that is used to prefill the composed SMS message. |
| recipient | String | A single recipient that is added to the composed SMS message. |
SmsMessage(body, recipients)
Initializes a new instance of the SmsMessage class.
| Name | Type | Description |
|---|---|---|
| body | String | The body text that is used to prefill the composed SMS message. |
| recipients | IEnumerable<String> | A collection of recipients that are added to the composed SMS message. |
Values in recipients that are or whitespace are not added as recipients.
Properties
Body
String: Gets or sets the body of this message.
Recipients
List<String>: Gets or sets the recipients for this message.