在Microsoft Teams消息传递扩展搜索结果中进行分页

发布于 2025-02-09 13:02:35 字数 530 浏览 0 评论 0原文

我有一个返回搜索结果的团队消息扩展。该文档提到了分页功能,但我无法使它起作用:

https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/how-to/search-commands/respond-to-搜索?tabs = dotnet

我希望我的搜索结果应该告诉团队还有其他搜索结果(例如总结果参数),因此应该可以使用分页,但是我看不到设置的任何地方。

结果,用户仅查看结果的第一页。

I have a Teams messaging extension that is returning search results. The documentation mentions paging functionality, but I cannot get this to work:

https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/how-to/search-commands/respond-to-search?tabs=dotnet

I would expect that my search result should be telling Teams that there are additional search results (e.g. a total results parameter) and therefore paging should be available, but I cannot see anywhere that this is set.

As a result, users only see the first page of results.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我不在是我 2025-02-16 13:02:35

这是无证的,但显然只要您返回许多等于所请求的页面大小团队的结果将请求另一页。

This is undocumented, but apparently as long as your return a number of results that is equal to the requested page size Teams will request another page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文