Show / Hide Table of Contents

Class IncomingMessage

Details about a message to be sent

Carrier object for IncomingMessage. Services for the IncomingMessage Carrier is available from the Messaging Agent.
Inheritance
object
IncomingMessage
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.12.0.0")]
public class IncomingMessage : Carrier

Constructors

IncomingMessage()

Default constructor

Declaration
public IncomingMessage()
See Also
IMessagingAgent

Properties

Content

Content, or body, of the message.

Declaration
[DataMember]
public virtual string Content { get; set; }
Property Value
Type Description
string
See Also
IMessagingAgent

Format

Format of the content

Declaration
[DataMember]
public virtual string Format { get; set; }
Property Value
Type Description
string
See Also
IMessagingAgent

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.

Declaration
[DataMember]
public virtual string From { get; set; }
Property Value
Type Description
string
See Also
IMessagingAgent

Plugin

Name of plugin

Declaration
[DataMember]
public virtual string Plugin { get; set; }
Property Value
Type Description
string
See Also
IMessagingAgent

SessionKey

Session key used for threading.

Declaration
[DataMember]
public virtual string SessionKey { get; set; }
Property Value
Type Description
string
See Also
IMessagingAgent

To

Address of the recipient. This can be in the form of phone number or email.

Declaration
[DataMember]
public virtual string To { get; set; }
Property Value
Type Description
string
See Also
IMessagingAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IMessagingAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
IMessagingAgent

See Also

IMessagingAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top