We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
能否点击会话,显示相应的消息列表。现在管理对话好难啊
No response
The text was updated successfully, but these errors were encountered:
看起来您在讨论一个关于多对话管理的需求,想要在点击会话时显示相应的消息列表。这个功能确实可以帮助更好地管理对话。
目前,您是否有具体的 API 提议或者想法呢?如果没有,您可以考虑以下几点来设计 API:
会话列表 API:提供一个接口来获取所有会话的列表,包括会话的基本信息(如会话ID、标题、最后消息时间等)。
消息列表 API:提供一个接口来获取某个特定会话的消息列表,支持分页加载,以便于处理大量消息。
会话选择事件:在前端实现一个事件监听,当用户点击某个会话时,触发获取该会话消息列表的请求。
如果您有更多的具体需求或想法,欢迎分享,我可以帮助您进一步完善这个功能的设计。
Sorry, something went wrong.
No branches or pull requests
需求动机
能否点击会话,显示相应的消息列表。现在管理对话好难啊
提议的 API 是什么样的?
No response
The text was updated successfully, but these errors were encountered: