You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The response object will contain 'rawResponse' with general info and 'status':
48
+
// response = {
49
+
// rawResponse: {
50
+
// cost: '0.00',
51
+
// country: 'Казахстан',
52
+
// last_date: '13.03.2018 15:50:50',
53
+
// last_timestamp: 1520934650,
54
+
// message: 'hello',
55
+
// operator: 'Beeline',
56
+
// phone: '77718637484',
57
+
// region: '',
58
+
// send_date: '13.03.2018 15:50:46',
59
+
// send_timestamp: 1520934646,
60
+
// sender_id: 'SMS-CENTRE',
61
+
// status: 1,
62
+
// status_name: 'Доставлено',
63
+
// type: 0,
64
+
// },
65
+
// status: 'ok',
66
+
// }
67
+
```
68
+
69
+
P.S. You can get status codes [here](https://github.com/FrankAst/sms-sender/blob/3946a34f0d68369914e1ac6c180cc2a5948b718d/src/transporters/Smsc.js#L49) or in [SMSC docs](https://smsc.kz/api/http/status_messages/statuses/#menu).
0 commit comments