Class IncomingMessage
Details about a message to be sent
Carrier object for IncomingMessage. Services for the IncomingMessage Carrier is available from the Messaging Agent.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
Properties
Content
Content, or body, of the message.
Declaration
[DataMember]
public virtual string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Format
Format of the content
Declaration
[DataMember]
public virtual string Format { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
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
Plugin
Name of plugin
Declaration
[DataMember]
public virtual string Plugin { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
SessionKey
Session key used for threading.
Declaration
[DataMember]
public virtual string SessionKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
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
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
See Also
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. |