Terrance/SkPy

Unable to obtain complete historical messages

zunlongzhou opened this issue · 2 comments

Before we start...

  • I've searched existing issues, but my problem hasn't been reported yet.
  • I've read the documentation (including notes on error messages and rate limiting), but my problem is something else.
  • I've tested the behaviour on Skype for Web, and it works there but not with SkPy.

Summary

Testing has found that it is not possible to obtain the oldest Skype historical messages, but complete historical messages can be seen on both mobile phones and computers

Code sample

from skpy import Skype
sk = Skype("username","pwd")

ch = sk.contacts["friend_id"].chat
ch.getMsgs()

Code output

artial historical news

Explain your code

Unable to obtain the message for the first day of adding friends, but using this interface call a week ago can obtain

SkPy version

SkPy 0.10.6

Python version

3.8.8

Anything else?

No response

I seem to have found a problem. Have you set the maximum message window to 30

As described in the guide and reference docs, you need to call getMsgs() repeatedly in order to page through older messages.