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.

Introduced or updated in version: 7.1.1

Declaration
NSIncomingMessage

Methods

GetContent()

Introduced or updated in version: 7.1.1

Declaration
String GetContent()
Returns
Type Description
String

Content, or body, of the message.

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

GetFormat()

Introduced or updated in version: 7.1.1

Declaration
String GetFormat()
Returns
Type Description
String

Format of the content.

Examples
NSIncomingMessage thing;
String format = thing.GetFormat();

GetFrom()

Introduced or updated in version: 7.1.1

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()

Introduced or updated in version: 7.1.1

Declaration
String GetPlugin()
Returns
Type Description
String

Name of plugin.

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

GetSessionKey()

Introduced or updated in version: 7.1.1

Declaration
String GetSessionKey()
Returns
Type Description
String

Session key used for threading.

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

GetTo()

Introduced or updated in version: 7.1.1

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)

Introduced or updated in version: 7.1.1

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)

Introduced or updated in version: 7.1.1

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)

Introduced or updated in version: 7.1.1

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)

Introduced or updated in version: 7.1.1

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)

Introduced or updated in version: 7.1.1

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)

Introduced or updated in version: 7.1.1

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);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top