Class NSOutgoingMessage
Details about a message to be sent.
Syntax
Constructors
NSOutgoingMessage()
Initializes a new instance of the NSOutgoingMessage class.
Declaration
NSOutgoingMessage
Methods
GetContent()
Details about a message to be sent.
Declaration
String GetContent()
Returns
Type | Description |
---|---|
String | Content, or body, of the message. |
Examples
NSOutgoingMessage thing;
String content = thing.GetContent();
GetFormat()
Details about a message to be sent.
Declaration
String GetFormat()
Returns
Type | Description |
---|---|
String | Format of content. |
Examples
NSOutgoingMessage thing;
String format = thing.GetFormat();
GetFrom()
Details about a message to be sent.
Declaration
String 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. |
Examples
NSOutgoingMessage thing;
String from = thing.GetFrom();
GetParentMessagingId()
Details about a message to be sent.
Declaration
Integer GetParentMessagingId()
Returns
Type | Description |
---|---|
Integer | ID to the previous outgoing message related to this one. Used from message threading. |
Examples
NSOutgoingMessage thing;
Integer parentMessagingId = thing.GetParentMessagingId();
GetSuggestedSessionKey()
Details about a message to be sent.
Declaration
String GetSuggestedSessionKey()
Returns
Type | Description |
---|---|
String |
Examples
NSOutgoingMessage thing;
String suggestedSessionKey = thing.GetSuggestedSessionKey();
GetTo()
Details about a message to be sent.
Declaration
String GetTo()
Returns
Type | Description |
---|---|
String | Address of the recipient. This can be in the form of phone number or email. |
Examples
NSOutgoingMessage thing;
String to = thing.GetTo();
SetContent(String)
Details about a message to be sent.
Declaration
Void SetContent(String content)
Parameters
Type | Name | Description |
---|---|---|
String | content | Content, or body, of the message. |
Returns
Type | Description |
---|---|
Void |
Examples
NSOutgoingMessage thing;
String content;
thing.SetContent(content);
SetFormat(String)
Details about a message to be sent.
Declaration
Void SetFormat(String format)
Parameters
Type | Name | Description |
---|---|---|
String | format | Format of content. |
Returns
Type | Description |
---|---|
Void |
Examples
NSOutgoingMessage thing;
String format;
thing.SetFormat(format);
SetFrom(String)
Details about a message to be sent.
Declaration
Void SetFrom(String 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 |
Examples
NSOutgoingMessage thing;
String from;
thing.SetFrom(from);
SetParentMessagingId(Integer)
Details about a message to be sent.
Declaration
Void SetParentMessagingId(Integer 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 |
Examples
NSOutgoingMessage thing;
Integer parentMessagingId;
thing.SetParentMessagingId(parentMessagingId);
SetSuggestedSessionKey(String)
Details about a message to be sent.
Declaration
Void SetSuggestedSessionKey(String suggestedSessionKey)
Parameters
Type | Name | Description |
---|---|---|
String | suggestedSessionKey |
Returns
Type | Description |
---|---|
Void |
Examples
NSOutgoingMessage thing;
String suggestedSessionKey;
thing.SetSuggestedSessionKey(suggestedSessionKey);
SetTo(String)
Details about a message to be sent.
Declaration
Void SetTo(String to)
Parameters
Type | Name | Description |
---|---|---|
String | to | Address of the recipient. This can be in the form of phone number or email. |
Returns
Type | Description |
---|---|
Void |
Examples
NSOutgoingMessage thing;
String to;
thing.SetTo(to);