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

Missing required positional argument 'hash' #7

Open
SuccSock opened this issue Feb 12, 2021 · 1 comment
Open

Missing required positional argument 'hash' #7

SuccSock opened this issue Feb 12, 2021 · 1 comment

Comments

@SuccSock
Copy link

SuccSock commented Feb 12, 2021

I have tried deleting and downloading again, checked every field on the config file, but it keeps happening

Traceback (most recent call last):
  File "telelooper.py", line 52, in <module>
    result = tclient(GetDialogsRequest(
TypeError: __init__() missing 1 required positional argument: 'hash'

@xcruiser
Copy link

xcruiser commented Sep 1, 2021

result = tclient(GetDialogsRequest(
                 offset_date=last_date,
                 offset_id=0,
                 offset_peer=InputPeerEmpty(),
                 limit=chunk_size,
                hash=0
             ))

Add missing parameter HASH=0 will solve this issue.

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

2 participants