예제 #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="userDataHeader">The binary user data header (optional). Up to 140 bytes in total (UserDataHeader + Data).</param>
 /// <param name="data">The binary data (optional). Up to 140 bytes in total (UserDataHeader + Data).</param>
 /// <param name="destinations">The message destinations. Each destination should be a numerical string, including country prefix starting with 00, having a max length of 17 digits in total. The maximum number of destinations is 25000.</param>
 public BinarySmsMessage(byte[] userDataHeader, byte[] data, params string[] destinations)
 {
     UserDataHeader = userDataHeader;
     Data           = data;
     Destinations.AddRange(destinations);
 }
예제 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="destinations">The message destinations. Each destination should be a numerical string, including country prefix starting with 00, having a max length of 17 digits in total. The maximum number of destinations is 25000.</param>
 public BinarySmsMessage(params string[] destinations)
 {
     Destinations.AddRange(destinations);
 }
예제 #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="data">The binary data (optional). Up to 140 bytes in total (UserDataHeader + Data).</param>
 /// <param name="destinations">The message destinations. Each destination should be a numerical string, including country prefix starting with 00, having a max length of 17 digits in total. The maximum number of destinations is 25000.</param>
 public BinarySmsMessage(byte[] data, params string[] destinations)
 {
     Data = data;
     Destinations.AddRange(destinations);
 }
예제 #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="text">The text to send</param>
 /// <param name="destinations">The message destinations. Each destination should be a numerical string, including country prefix starting with 00, having a max length of 17 digits in total. The maximum number of destinations is 25000.</param>
 public TextSmsMessage(string text, params string[] destinations)
 {
     Text = text;
     Destinations.AddRange(destinations);
 }