简体   繁体   English

MS Teams 机器人的发送消息吞吐量是多少?

[英]What is the send message throughput of MS Teams bot?

I am developing an MS Teams app with a bot.我正在使用机器人开发 MS Teams 应用程序。 Occasionally, the bot needs to send a proactive message to a subset of users who have installed the app.有时,机器人需要向已安装该应用程序的用户子集发送主动消息。

We cannot send a message to multiple users at once.我们不能一次向多个用户发送消息。 So we have to make one HTTP request per user per message.因此,我们必须为每条消息的每个用户发出一个 HTTP 请求。 Given that batching is not possible and there are API rate limits, I want to know how scalable is this.鉴于无法进行批处理并且存在 API 速率限制,我想知道它的可扩展性如何。

Specifically, I want to know the approximate time between when the first and the last user receive the messages if I send message to 5k users at once.具体来说,如果我一次向 5k 个用户发送消息,我想知道第一个用户和最后一个用户收到消息之间的大致时间。 What about 10k? 10k呢? 20k? 20k?

Any help is much appreciated, thanks:)非常感谢任何帮助,谢谢:)

This document gives a lot of detail on the throttle limits, and the related time periods required: https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/rate-limit本文档详细介绍了油门限制以及所需的相关时间段: https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/rate-limit

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM