new SmsMobileStatusPuller(appid, appkey)
SmsMobileStatusPuller
Parameters:
Name | Type | Description |
---|---|---|
appid |
string | sdk appid |
appkey |
string | sdk appkey |
Methods
pullCallback(nationCode, mobile, beginTime, endTime, max, callback)
Pull callback SMS message status for single mobile
Parameters:
Name | Type | Description |
---|---|---|
nationCode |
string | nation dialing code, e.g. China is 86, USA is 1 |
mobile |
string | mobile number |
beginTime |
number | begin time, unix timestamp |
endTime |
number | end time, unix timestamp |
max |
number | maximum number of message status |
callback |
function | request handler, method signature: function(error, response, responseData) |
pullReply(nationCode, mobile, beginTime, endTime, max, callback)
Pull reply SMS message status for single mobile
Parameters:
Name | Type | Description |
---|---|---|
nationCode |
string | nation dialing code, e.g. China is 86, USA is 1 |
mobile |
string | mobile number |
beginTime |
number | begin time, unix timestamp |
endTime |
number | end time, unix timestamp |
max |
number | maximum number of message status |
callback |
function | request handler, method signature: function(error, response, responseData) |