public SmsMessage(SmppSession sess, submit_sm pdu, string msgId, DeliveryReceiptType responseRequested) { Session = sess; PDU = pdu; MessageId = msgId; deliveryReceipt = responseRequested; }
/// <summary> /// Parameterized constructor /// </summary> /// <param name="dtype">Delivery receipt type</param> /// <param name="atype">Acknowledgement receipt type</param> /// <param name="intermediateNotification">Whether intermediate notification is requested.</param> public registered_delivery(DeliveryReceiptType dtype, AcknowledgementType atype, bool intermediateNotification) : base(0) { this.DeliveryReceipt = dtype; this.OriginationAcknowledgement = atype; this.IntermediateNotification = intermediateNotification; }