Show / Hide Table of Contents

Class OutgoingMessage

Details about a message to be sent

Carrier object for OutgoingMessage. Services for the OutgoingMessage Carrier is available from the Messaging Agent.
Inheritance
object
OutgoingMessage
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
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 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

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
IMessagingAgent

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