【问题标题】:How to retrieve a list of spaces for a Google Chat user (not the bot)如何为 Google Chat 用户(不是机器人)检索空间列表
【发布时间】:2023-02-08 04:20:56
【问题描述】:

我正在尝试导出经过身份验证的用户在 Google Chat 中所属的空间列表。我怀疑范围 .../auth/chat.spaces.readonly 是实现此目的的正确权限。目前,我找不到任何有关如何为用户检索空间的示例。

我发现的唯一示例与使用 chat.spaces.list() 检索机器人的空间列表有关。

【问题讨论】:

    标签: ruby google-api google-oauth google-chat google-chat-api


    【解决方案1】:

    要使用它,您需要使用服务帐户身份验证,请阅读文档here 这是一个 example 用于服务帐户身份验证

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-07-29
      • 2021-09-06
      • 2018-03-17
      • 2011-05-18
      相关资源
      最近更新 更多