ajankovic / smpp

Go library for SMPP 3.4
MIT License
25 stars 22 forks source link

How to send DeliverSmID to smpp client ?? #2

Closed vanipolnedi closed 4 years ago

vanipolnedi commented 5 years ago

Hi, I'm able to send submitsm to connected clients. How to send DeliverSmID to smpp client ??

Thanks in advance.

ajankovic commented 4 years ago

If you have binded session you can send it same as any other PDU. There is also a helper to get proper type in response:

resp, err := smpp.SendDeliverSm(ctx, sess, p *pdu.DeliverSm)