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

修复get_history_messages API不能正常工作的BUG #31

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

HCPTangHY
Copy link
Contributor

在编写插件过程中,需要拉取历史信息,但总是提示报错,看了一眼是因为最终data需要的时offset_msg_id,而传入的却是offset的消息数。修复后,可以正常拉取历史信息,返回一个list
10-31 18:36:40 [DEBUG] nonebot | RedProtocol | Calling API get_history_messages
{'result': 0, 'errMsg': '', 'msgList': [{'msgId': '7296069608295717877',………………}]}

@RF-Tar-Railt RF-Tar-Railt merged commit 728860e into nonebot:main Oct 31, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants