Skip to main content

ShortMessage class

ShortMessage is a DTO (Data Transfer Object) class that defines the elements of the text message.

Following is a list of its members with description:

MemberDescription
ShortMessage.AccessCode propertyGets or sets the confirmation code that will be sent to registered mobile phone users.
ShortMessage.MaxLength propertyDefines the maximum length of an SMS message.
ShortMessage.Message propertyGets or sets the supporting message text that will be sent to registered mobile phone users along with the confirmation code.
ShortMessage.PhoneNumbers propertyGets or sets the list of phone numbers to send the message to.
ShortMessage.ReferenceId propertyGets or sets the reference ID for the text message.
ShortMessage.Validate methodValidates various elements in an SMS message, such as message length and phone number.

See Also