【问题标题】:Send messages from google sheets (google apps script) to Microsoft Teams将消息从 google 表格(google 应用程序脚本)发送到 Microsoft Teams
【发布时间】:2019-09-24 10:19:12
【问题描述】:

我想使用 Google Apps 脚本从 Google 表格向 Microsoft Teams 发送消息。

我知道可以向频道发送电子邮件,但我不知道如何发送消息。

【问题讨论】:

  • 您可以尝试使用连接器向 Microsoft Teams 发送消息。请通过Connectors。如果您需要任何帮助,请告诉我们。

标签: google-apps-script google-sheets microsoft-teams


【解决方案1】:

要向 Microsoft Team 频道发送消息,您需要知道其电子邮件地址,您可以使用更多选项 (⋯) ? 获取电子邮件地址在频道本身中获取它时间>。稍后,要从 Apps 脚本发送消息,您将需要使用 MailApp 服务的 .sendmail() 方法。您可以在该文档链接中找到该方法的完整选项和一些示例。另外,请记住Microsoft Team channel limits(在页面底部)以确保消息正在传递。如果您需要进一步的帮助,请要求更多说明。

【讨论】:

  • 谢谢,但我知道如何向频道发送电子邮件。有没有办法像在 Slack 中那样发送普通消息,例如“你好,我是看门狗”?
【解决方案2】:

@Pierre W 请尝试使用Connectors 在 Microsoft Teams 中发送消息。但是,连接器是在 Teams 范围内构建的,因此您可以在团队内部发送消息,但不能在 1:1 聊天中发送消息。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-04-29
    • 1970-01-01
    • 1970-01-01
    • 2019-05-16
    • 2016-01-25
    • 2022-09-30
    • 1970-01-01
    相关资源
    最近更新 更多