I am sending Delivery receipt using the following
Code: Select all
DeliverSmResp[] response = await serverClient.DeliverAsync(
SMS.ForDeliver()
.From(systemid)
.To(destination)
.Receipt(new Receipt
{
DoneDate = DateTime.Now,
State = dlr,
MessageId = req.clientMessageId,
ErrorCode = "0",
SubmitDate = DateTime.Now
}
)
)
.ConfigureAwait(false);
Thanks