Class OutgoingMessage
Details about a message to be sent
Carrier object for OutgoingMessage. Services for the OutgoingMessage 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 OutgoingMessage : Carrier
Constructors
OutgoingMessage()
Default constructor
Declaration
public OutgoingMessage()
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 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
ParentMessagingId
Id to the previous outgoing message related to this one. Used from message threading.
Declaration
[DataMember]
public virtual int ParentMessagingId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
SuggestedSessionKey
Details about a message to be sent
Carrier object for OutgoingMessage. Services for the OutgoingMessage Carrier is available from the Messaging Agent.Declaration
[DataMember]
public virtual string SuggestedSessionKey { 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. |