c# - twilio list filter options -


i using example on twilio api docs messages available account , saving them locally, using sid pk. need new messages (greater sendate timestamp?) see on page there options filter incoming messages, see no examples of how "limit list providing query string parameters listing resource" posted under "list filters".

using system; using twilio; class example  {    static void main(string[] args)     {      // find account sid , auth token @ twilio.com/user/account      string accountsid = "ac5ef8732a3c49700934481addd5ce1659";      string authtoken = "{{ auth_token }}";      var twilio = new twiliorestclient(accountsid, authtoken);      var request = new messagelistrequest();      var messages = twilio.listmessages(request);      foreach (var message in messages.messages)     {       console.writeline(message.body);     }   } } 

dont know if separate question, need last interaction i've had each sentto number in message list. i've scoured twilio docs may have missed something. if can point me right resource bestow blessings on generations of unborn progeny. in advance.

how using options available on messagelistrequest class:

using system; using twilio; class example  {    static void main(string[] args)     {      // find account sid , auth token @ twilio.com/user/account      string accountsid = "ac5ef8732a3c49700934481addd5ce1659";      string authtoken = "{{ auth_token }}";      var twilio = new twiliorestclient(accountsid, authtoken);      var request = new messagelistrequest();      // 10 days ago.     request.datesent = (datetime.utcnow - timespan.fromdays(10));      var messages = twilio.listmessages(request);      foreach (var message in messages.messages)     {       console.writeline(message.body);     }   } } 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -