andrew-ld / python-tdlib

full oop python 3 tdlib wrapper, fast, thread safe

Home Page:https://andrew-ld.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getChats() seems to return nothing

nullhandler opened this issue · comments

commented
result = client.send(getChats(0,0,100))
print(result)

has the following output:

{"@type": "chats", "chat_ids": []}

I tried different variations and it returns nothing.
Am I doing this correctly?

commented

thanks to @RusJr . this line reveals the answer to my qn. the first argument should be
2 ** 63 - 1 and not 0. Now everything works fine now.

commented

thanks to @RusJr . this line reveals the answer to my qn. the first argument should be
2 ** 63 - 1 and not 0. Now everything works fine now.

not bad) How did you find me?

commented

@RusJr Searched for tdlib library in pypi. Went to telega repo. Read your code and got the answer. Thats how I found you.