Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limits? #16

Open
mrPsycho opened this issue Jun 6, 2017 · 3 comments
Open

Limits? #16

mrPsycho opened this issue Jun 6, 2017 · 3 comments

Comments

@mrPsycho
Copy link

mrPsycho commented Jun 6, 2017

Hello!

Do you now limits of this?
is it possible to retrieve all text messages from 2014 till 2017?
it is about 100000 of them

@ali-shamakhi
Copy link
Contributor

ali-shamakhi commented Jun 6, 2017 via email

@psamim
Copy link
Owner

psamim commented Jun 7, 2017

There are limits in Telegram API. You can only fetch 3000 messages on every request. You can send multiple requests getting 3000 each time. To do this you can use OFFSET, there is an open pull request for telegram-cli for its Lua bindings: vysheng/tg#987

And see this issue about using offsets: #12

@ali-shamakhi
Copy link
Contributor

ali-shamakhi commented Jun 7, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants