Skip to main content

SmsMessage

Namespace: Wisej.Hybrid.Shared.Communication

Assembly: Wisej.Hybrid

Represents a single SMS message.

public class SmsMessage

Constructors

Instance memberSmsMessage()

Initializes a new instance of the SmsMessage class.

Instance memberSmsMessage(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 memberSmsMessage(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 or whitespace are not added as recipients.

Properties

Instance memberBody

String: Gets or sets the body of this message.

Instance memberRecipients

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