Click or drag to resize

MessageInfo Class

A Message resource that represents a single message for use with GetMessage(String)
Inheritance Hierarchy
SystemObject
  NetQuarry.ServicesMessageInfo

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class MessageInfo

The MessageInfo type exposes the following members.

Constructors
  NameDescription
Public methodMessageInfo
Initializes a new instance of the MessageInfo class
Top
Properties
  NameDescription
Public propertyAccountSid
The account SID value.
Public propertyApiVersion
The version of the Twilio API used to process the Message.
Public propertyBody
The text body of the Message.
Public propertyDateCreated
The date that this resource was created
Public propertyDateSent
The date that the Message was sent
Public propertyDateUpdated
The date that this resource was last updated
Public propertyDirection
The direction of this Message. incoming for incoming messages, outbound-api for messages initiated via the REST API, outbound-call for messages initiated during a call or outbound-reply for messages initiated in response to an incoming Message.
Public propertyErrorCode
The error code of this message. If the message was unable to be delivered this property will contain the error code. Error codes are listed in the Message docs: https://www.twilio.com/docs/api/rest/message.
Public propertyErrorMessage
The error message for this message. If the message was unable to be delivered this property will contain the error message.
Public propertyFrom
The phone number that initiated the message in E.164 format. For incoming messages, this will be the remote phone. For outgoing messages, this will be one of your Twilio phone numbers.
Public propertyNumImages
The number of images associated with this MMS
Public propertyNumSegments
The number of body segments associated with this message. In a common case, an ASCII message of 180 characters will be split into one segment with 160 characters and one with 20 characters, so NumSegments would be 2 for that message.
Public propertyPrice
The amount billed for the Message.
Public propertySid
A 34 character string that uniquely identifies this resource.
Public propertyStatus
The status of this Message. Either queued, sending, sent, or failed.
Public propertyStatusCode
Returns the translated status code.
Public propertyTo
The phone number that received the message in E.164 format. For incoming messages, this will be one of your Twilio phone numbers. For outgoing messages, this will be the remote phone.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also