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

[FEATURE REQUEST] Interface '/msg/search_msg' It is recommended to add sorting parameters to support it #3212

Open
zyyc5 opened this issue Mar 11, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@zyyc5
Copy link

zyyc5 commented Mar 11, 2025

Why this feature?

我的业务需要实现服务端拉取某个群组下所有消息, 当前的这个接口只能顺序获取, 我希望可以按时间倒序获取列表

Suggested Solution

这个接口支持排序字段, 或者新增一个按会话查询, 并且支持排序的接口

Additional Information

No response

@zyyc5 zyyc5 added the enhancement New feature or request label Mar 11, 2025
@OpenIM-Robot OpenIM-Robot changed the title [FEATURE REQUEST] 接口 '/msg/search_msg' 建议加上排序参数支持 [FEATURE REQUEST] Interface '/msg/search_msg' It is recommended to add sorting parameters to support it Mar 11, 2025
@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Why this feature?

My business needs to implement the server to pull all messages in a certain group. The current interface can only be retrieved in sequence. I hope to get the list in reverse order in time.

Suggested Solution

This interface supports sorting fields, or adds a new interface that querys by session and supports sorting

Additional Information

No response

@OpenIM-Robot
Copy link

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants