Closed zwalsh-toast closed 3 months ago
@zwalsh-toast Range fields(dateSentBefore) are something internal. It was a bug in previous SDK versions. We will talk with internal team members to come up with conclusion on this. Either remove this from docs or add this to SDK.
@sbansla Thanks! For my use case, this feature is really useful, so I hope it can be supported.
@zwalsh-toast We have released 10.1.2 with the fix.
@sbansla great, thank you!!
Issue Summary
Release 10 appears to have dropped support for a feature of the API that exists in the documentation. The
MessageReader
class no longer has the methodssetDateSentBefore
orsetDateSentAfter
, in lieu of justsetDateSent
. This means that I can't query within a single day or across days with the SDK.https://github.com/twilio/twilio-java/compare/9.0.0..10.0.0#diff-3fd79a945865becabb8b305f841be94f67fbac40df790e96b88e8fe300a25fe6L83-L90
Code Snippet
Before:
Now:
This feature still exists in code snippets on the REST API documentation and the params still seem to be respected by the API, so I think this is a regression. Can this be fixed?
Technical details: