可以知道使用 API 的 Slack 频道成员的最后一个 activity 是什么时候?
It's possible to know when was the last activity of an Slack channel's member using the API?
我在 API 参考资料中看到 user.getPresence() return 方法是一个带有 属性 "last_activity" (UNIX 时间戳)但仅如果您请求作者用户的信息:
If you are requesting presence information for the authed user, this method returns the current presence, along with details on how it was calculated.
在这种情况下 "authed user" 是什么意思?我能否为频道中的任何用户或仅为我用来生成应用程序令牌的用户获取该时间戳?
authed user(authenticated user 的缩写,在 Slack API 文档的其他地方使用)是指使用 API 的用户,因此使用 oAuth 对您的应用进行身份验证的用户。指的是Slack下图中的资源拥有者:
在 users.getPresence
页面上有详细说明,当请求其他用户的存在时,只有当前存在(active 或 away) 返回。
可以找到有关状态和状态的更多详细信息here。
我在 API 参考资料中看到 user.getPresence() return 方法是一个带有 属性 "last_activity" (UNIX 时间戳)但仅如果您请求作者用户的信息:
If you are requesting presence information for the authed user, this method returns the current presence, along with details on how it was calculated.
在这种情况下 "authed user" 是什么意思?我能否为频道中的任何用户或仅为我用来生成应用程序令牌的用户获取该时间戳?
authed user(authenticated user 的缩写,在 Slack API 文档的其他地方使用)是指使用 API 的用户,因此使用 oAuth 对您的应用进行身份验证的用户。指的是Slack下图中的资源拥有者:
在 users.getPresence
页面上有详细说明,当请求其他用户的存在时,只有当前存在(active 或 away) 返回。
可以找到有关状态和状态的更多详细信息here。