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

【需求】支持查询媒体内容(图片/视频),像搜索文件一样。 #699

Closed
heavyrain2012 opened this issue May 27, 2024 · 1 comment

Comments

@heavyrain2012
Copy link
Contributor

1、搜图片关键字为空:查询出聊天/群里面所有的图片
2、搜视频关键字为空:查询出聊天/群里面所有的视频
3、搜索可以关键字,文件名啥的?

优先的需求:就是可以查询所有的图片和视频

// 这里查询和搜索搞混了,需求是查询。

wildfirechat/app-server#40

@heavyrain2012
Copy link
Contributor Author

因为发送的图片和视频都没有名字(IM系统中没有保存文件名),所以不能使用关键字来查询图片和视频,只有以文件方式发送的方式才可以用关键字查询(文件消息包含文件名)。

如果获取所有图片或者某个会话的图片和视频,可以调用客户端的获取消息接口,客户端获取消息接口有传入消息类型的参数,传入图片和视频类型,就可以加载您想要的图片和视频了

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

No branches or pull requests

1 participant