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?
I think you'd have to look at the time of the last message, then set before
to that.
How can I get all of the messages, not just 500?
I think you'd have to look at the time of the last message, then set
before
to that.
@Anonymous941 Do you mean the time of the most recent message?
@Anonymous941 Do you mean the time of the most recent message?
@Tech-Expert-Wizard I mean set before
to the time of the last message (the 500th message) to get the next 500 messages.
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.
eu estou nessa lista 🤔
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I get all of the messages, not just 500?