pyrofork icon indicating copy to clipboard operation
pyrofork copied to clipboard

get_chat_history_count returns wrong

Open Eikosa opened this issue 1 year ago • 0 comments

Checklist

  • [X] I am sure the error is coming from Pyrofork's code and not elsewhere
  • [X] I have searched in the issue tracker for similar bug reports, including closed ones
  • [X] I ran pip3 install -U git+https://github.com/Mayuri-Chan/pyrofork and reproduced the issue using the latest development version

Description

In many chats it gives the result 2147483647 even though it has nothing to do with it

>> await app.get_chat_history_count(1454618510)
2147483647
>> await app.get_chat_history_count("me")
2147483647

Steps to reproduce

.

Code example

No response

Logs

No response

Eikosa avatar Feb 18 '24 21:02 Eikosa