Created
May 13, 2016 17:46
-
-
Save nicktimko/2b7e21c196d9e74c69fbd7f5b79014cb to your computer and use it in GitHub Desktop.
How can I get all of the messages, not just 500?
Use get_all_messages
, it repeatedly calls get_messages
and sets before
to before whatever the last 500 were.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Tech-Expert-Wizard I mean set
before
to the time of the last message (the 500th message) to get the next 500 messages.