Skip to main content

SmsMessage

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (4.1.0.0)

Represents a single SMS message.

public class SmsMessage

Constructors​

Instance member SmsMessage()​

Initializes a new instance of the SmsMessage class.

Instance member SmsMessage(body, recipient)​

Initializes a new instance of the SmsMessage class.

NameTypeDescription
bodyStringThe body text that is used to prefill the composed SMS message.
recipientStringA single recipient that is added to the composed SMS message.

Instance member SmsMessage(body, recipients)​

Initializes a new instance of the SmsMessage class.

NameTypeDescription
bodyStringThe body text that is used to prefill the composed SMS message.
recipientsIEnumerable<String>A collection of recipients that are added to the composed SMS message.

Values in recipients that are null or whitespace are not added as recipients.

Properties​

Instance member Body​

String: Gets or sets the body of this message.

Instance member Recipients​

List<String>: Gets or sets the recipients for this message.