Table of Contents

Class SmsResponseMessage

Namespace
Vonage.Messaging
Assembly
Vonage.dll

Represents an individual message result within an SMS send response. Each message part in a multi-part SMS has its own response entry.

public class SmsResponseMessage
Inheritance
SmsResponseMessage
Inherited Members

Properties

AccountRef

An optional string used to identify separate accounts using the SMS endpoint for billing purposes. To use this feature, please email support

[JsonProperty("account-ref")]
public string AccountRef { get; set; }

Property Value

string

ClientRef

If a client-ref was included when sending the SMS, this field will be included and hold the value that was sent.

[JsonProperty("client-ref")]
public string ClientRef { get; set; }

Property Value

string

ErrorText

The status of the message. See Troubleshooting Failed SMS.

[JsonProperty("error-text")]
public string ErrorText { get; set; }

Property Value

string

MessageId

The ID of the message

[JsonProperty("message-id")]
public string MessageId { get; set; }

Property Value

string

MessagePrice

The cost of the message

[JsonProperty("message-price")]
public string MessagePrice { get; set; }

Property Value

string

Network

The ID of the network of the recipient

[JsonProperty("network")]
public string Network { get; set; }

Property Value

string

RemainingBalance

Your remaining balance

[JsonProperty("remaining-balance")]
public string RemainingBalance { get; set; }

Property Value

string

Status

[JsonProperty("status")]
public string Status { get; set; }

Property Value

string

StatusCode

Gets the status as a strongly-typed SmsStatusCode enum value.

[JsonIgnore]
public SmsStatusCode StatusCode { get; }

Property Value

SmsStatusCode

To

The number the message was sent to. Numbers are specified in E.164 format.

[JsonProperty("to")]
public string To { get; set; }

Property Value

string