Class NSOutgoingMessage
Details about a message to be sent.
Constructors
NSOutgoingMessage()
Initializes a new instance of the NSOutgoingMessage class.
Declaration
NSOutgoingMessage Methods
GetContent()
Declaration
String GetContent() Examples
NSOutgoingMessage thing;
String content = thing.GetContent();
Returns
| Type | Description |
| String | Content, or body, of the message. |
GetFormat()
Declaration
String GetFormat() Examples
NSOutgoingMessage thing;
String format = thing.GetFormat();
Returns
| Type | Description |
| String | Format of content. |
GetFrom()
Declaration
String GetFrom() Examples
NSOutgoingMessage thing;
String from = thing.GetFrom();
Returns
| Type | Description |
| String | Who the message is from. This can vary from provider to provider and can for SMS typically be a phone number or a string. This is mail address on the form of an e-mail. |
GetParentMessagingId()
Declaration
Integer GetParentMessagingId() Examples
NSOutgoingMessage thing;
Integer parentMessagingId = thing.GetParentMessagingId();
Returns
| Type | Description |
| Integer | ID to the previous outgoing message related to this one. Used from message threading. |
GetSuggestedSessionKey()
Declaration
String GetSuggestedSessionKey() Examples
NSOutgoingMessage thing;
String suggestedSessionKey = thing.GetSuggestedSessionKey();
Returns
| Type | Description |
| String |
GetTo()
Declaration
String GetTo() Examples
NSOutgoingMessage thing;
String to = thing.GetTo();
Returns
| Type | Description |
| String | Address of the recipient. This can be in the form of phone number or email. |
SetContent(String)
Declaration
Void SetContent(String content) Examples
NSOutgoingMessage thing;
String content;
thing.SetContent(content);
Parameters
| Type | Name | Description |
| String | content | Content, or body, of the message. |
Returns
| Type | Description |
| Void |
SetFormat(String)
Declaration
Void SetFormat(String format) Examples
NSOutgoingMessage thing;
String format;
thing.SetFormat(format);
Parameters
| Type | Name | Description |
| String | format | Format of content. |
Returns
| Type | Description |
| Void |
SetFrom(String)
Declaration
Void SetFrom(String from) Examples
NSOutgoingMessage thing;
String from;
thing.SetFrom(from);
Parameters
| Type | Name | Description |
| String | from | Who the message is from. This can vary from provider to provider and can for SMS typically be a phone number or a string. This is mail address on the form of an email. |
Returns
| Type | Description |
| Void |
SetParentMessagingId(Integer)
Declaration
Void SetParentMessagingId(Integer parentMessagingId) Examples
NSOutgoingMessage thing;
Integer parentMessagingId;
thing.SetParentMessagingId(parentMessagingId);
Parameters
| Type | Name | Description |
| Integer | parentMessagingId | ID to the previous outgoing message related to this one. Used from message threading. |
Returns
| Type | Description |
| Void |
SetSuggestedSessionKey(String)
Declaration
Void SetSuggestedSessionKey(String suggestedSessionKey) Examples
NSOutgoingMessage thing;
String suggestedSessionKey;
thing.SetSuggestedSessionKey(suggestedSessionKey);
Parameters
| Type | Name | Description |
| String | suggestedSessionKey |
Returns
| Type | Description |
| Void |