Class OptInRecord
- Namespace
- Vonage.ShortCodes
- Assembly
- Vonage.dll
Represents the opt-in/opt-out status record for a phone number subscribed to a short code.
public class OptInRecord
- Inheritance
-
OptInRecord
- Inherited Members
Properties
Msisdn
Gets or sets the phone number in E.164 format (e.g., "14155551234").
[JsonProperty("msisdn")]
public string Msisdn { get; set; }
Property Value
OptIn
Gets or sets a value indicating whether the phone number has opted in to receive messages.
[JsonProperty("opt-in")]
public bool OptIn { get; set; }
Property Value
OptInDate
Gets or sets the date when the phone number opted in.
[JsonProperty("opt-in-date")]
public string OptInDate { get; set; }
Property Value
OptOut
Gets or sets a value indicating whether the phone number has opted out from receiving messages.
[JsonProperty("opt-out")]
public bool OptOut { get; set; }
Property Value
OptOutDate
Gets or sets the date when the phone number opted out.
[JsonProperty("opt-out-date")]
public string OptOutDate { get; set; }