Class SmsResponseMessage
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
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
ErrorText
The status of the message. See Troubleshooting Failed SMS.
[JsonProperty("error-text")]
public string ErrorText { get; set; }
Property Value
MessageId
The ID of the message
[JsonProperty("message-id")]
public string MessageId { get; set; }
Property Value
MessagePrice
The cost of the message
[JsonProperty("message-price")]
public string MessagePrice { get; set; }
Property Value
Network
The ID of the network of the recipient
[JsonProperty("network")]
public string Network { get; set; }
Property Value
RemainingBalance
Your remaining balance
[JsonProperty("remaining-balance")]
public string RemainingBalance { get; set; }
Property Value
Status
The status of the message. See: https://developer.nexmo.com/messaging/sms/guides/troubleshooting-sms
[JsonProperty("status")]
public string Status { get; set; }
Property Value
StatusCode
Gets the status as a strongly-typed SmsStatusCode enum value.
[JsonIgnore]
public SmsStatusCode StatusCode { get; }
Property Value
To
The number the message was sent to. Numbers are specified in E.164 format.
[JsonProperty("to")]
public string To { get; set; }