Open mrPsycho opened 7 years ago
Hello Yaroslav,
I think there is no such fixed limit, but it is limited due to some technical front-end implementations; maybe lua scripting is limited in handling large data.
I was able to reach about 5000-6000 messages, but maybe more than that was possible if the size of messages were smaller
On Jun 6, 2017 11:30 PM, "Yaroslav Nakonechnikov" notifications@github.com wrote:
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
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/psamim/telegram-cli-backup/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AKACYFmHEI2aHQ4guPZMqCvx34FV67Trks5sBaHegaJpZM4NxxbJ .
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: https://github.com/vysheng/tg/pull/987
And see this issue about using offsets: https://github.com/psamim/telegram-cli-backup/issues/12
Sorry for misleading info I have, I did double check my results; the data was duplicated in the output somehow! That was my fault.
On Jun 7, 2017 12:56 PM, "Samim Pezeshki" notifications@github.com wrote:
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 https://github.com/vysheng/tg/pull/987
And see this issue about using offsets: #12 https://github.com/psamim/telegram-cli-backup/issues/12
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/psamim/telegram-cli-backup/issues/16#issuecomment-306726231, or mute the thread https://github.com/notifications/unsubscribe-auth/AKACYK_6oUNLNEM9TCyYhwv9MIlJV7J0ks5sBl6XgaJpZM4NxxbJ .
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