Show / Hide Table of Contents

Class NSIncomingMessage

Details about a message to be sent.

Syntax

Constructors

NSIncomingMessage()

Initializes a new instance of the NSIncomingMessage class.

Declaration
NSIncomingMessage

Methods

GetContent()

Details about a message to be sent.

Declaration
String GetContent()
Returns
Type Description
String

Content, or body, of the message.

Examples
NSIncomingMessage thing;
String content = thing.GetContent();

GetFormat()

Details about a message to be sent.

Declaration
String GetFormat()
Returns
Type Description
String

Format of the content.

Examples
NSIncomingMessage 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
NSIncomingMessage thing;
String from = thing.GetFrom();

GetPlugin()

Details about a message to be sent.

Declaration
String GetPlugin()
Returns
Type Description
String

Name of plugin.

Examples
NSIncomingMessage thing;
String plugin = thing.GetPlugin();

GetSessionKey()

Details about a message to be sent.

Declaration
String GetSessionKey()
Returns
Type Description
String

Session key used for threading.

Examples
NSIncomingMessage thing;
String sessionKey = thing.GetSessionKey();

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
NSIncomingMessage 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
NSIncomingMessage 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 the content.

Returns
Type Description
Void
Examples
NSIncomingMessage 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 e-mail.

Returns
Type Description
Void
Examples
NSIncomingMessage thing;
String from;
thing.SetFrom(from);

SetPlugin(String)

Details about a message to be sent.

Declaration
Void SetPlugin(String plugin)
Parameters
Type Name Description
String plugin

Name of plugin.

Returns
Type Description
Void
Examples
NSIncomingMessage thing;
String plugin;
thing.SetPlugin(plugin);

SetSessionKey(String)

Details about a message to be sent.

Declaration
Void SetSessionKey(String sessionKey)
Parameters
Type Name Description
String sessionKey

Session key used for threading.

Returns
Type Description
Void
Examples
NSIncomingMessage thing;
String sessionKey;
thing.SetSessionKey(sessionKey);

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
NSIncomingMessage thing;
String to;
thing.SetTo(to);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top