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

Unable to get more than 40 messages using sender.history #116

Open
avinassh opened this issue Apr 27, 2017 · 1 comment
Open

Unable to get more than 40 messages using sender.history #116

avinassh opened this issue Apr 27, 2017 · 1 comment

Comments

@avinassh
Copy link

avinassh commented Apr 27, 2017

The problem

I am trying to download entire history for a certain user using PyTG but I can't seem to get more than 40 messages:

len(sender.history("@some_tg_user", limit=2000000, offset=10))
len(sender.history("@some_tg_user", limit=200, offset=5))
len(sender.history("@some_tg_user")

They all print 40.

Your environment

Fill out your used versions:

Component Version
python 3.6.1
pytg   0.4.10  
OS     Mac OS 10.12.4

Expected behaviour

Need more than 40 messages

Actual behaviour

Not getting more than 40 messages

@luckydonald
Copy link
Owner

Feels like this is an issue with the CLI

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

No branches or pull requests

2 participants