How to send a message from Sever to Client event _client_evDeliverSm with MessageTypes = Default (0)?
When using the example code below is is for Receipt which is MessageTypes = SMSCDeliveryReceipt (4) but I can't find how to send with Default (0)
Code: Select all
var dlrBuilder = SMS.ForDeliver()
.From(source)
.To(destination)
.Receipt(new Receipt
{
SubmitDate = DateTime.Now,
DoneDate = DateTime.Now,
State = MessageState.Rejected,
MessageId = Guid.NewGuid().ToString("N").ToUpper(),
ErrorCode = "1025",
Text = "NO_CREDITS"
});
await _client.DeliverAsync(dlrBuilder).ConfigureAwait(false);
AG