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

Unknown constructor 0x1cb5c415 #2

Closed
iamDonkey opened this issue Apr 12, 2022 · 3 comments
Closed

Unknown constructor 0x1cb5c415 #2

iamDonkey opened this issue Apr 12, 2022 · 3 comments

Comments

@iamDonkey
Copy link

if response is vector it throws this error

  File "/root/LL-mtproto-master/ll_mtproto/tl/tl.py", line 229, in deserialize
    raise ValueError(f"Unknown constructor {hex(int.from_bytes(cons_number, 'little'))}")
ValueError: Unknown constructor 0x1cb5c415
@andrew-ld
Copy link
Owner

could you tell me how I can reproduce it.

@iamDonkey
Copy link
Author

could you tell me how I can reproduce it.

for example

peer = await session.rpc_call(
             {
            "_cons": "users.getUsers",
            "id": [{
                "_cons": "inputUser",
                "user_id": 234480941,
                "access_hash": -5728477102971232701,
            }],})
            print(peer)

you may also test this method that has vector response messages.getDialogFilters#f19ed96d = Vector<DialogFilter>;

@iamDonkey
Copy link
Author

iamDonkey commented Apr 12, 2022 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

2 participants