2024-05-28 18:24:57 发布
网友
我将使用python内部通信find_all方法来查找具有自定义属性(“Agency Status”)值被挂起的所有用户,但找不到任何方法来处理此问题。在
我写的如下,但它返回所有用户而不是暂停的用户。在
suspenso_users = intercom_client.users.find_all(custom_attributes={"Agency Status":"Suspensed"})
如果有谁谁谁有自定义基于属性的过滤经验,请帮助我。在
目前无法找到包含自定义属性特定值的用户。您应该遍历用户列表并搜索具有所需特定属性的用户。您可以使用find调用的唯一参数是id、user_id和email字段。不过,这可能会在未来发生变化。在
id
user_id
email
这就是说,在构建模型时需要考虑的是您可以search for users by ^{} or ^{}。例如,您可以tag these users programmatically based off of webhooks,然后search for them using the tag(s)。在
目前无法找到包含自定义属性特定值的用户。您应该遍历用户列表并搜索具有所需特定属性的用户。您可以使用find调用的唯一参数是
id
、user_id
和email
字段。不过,这可能会在未来发生变化。在这就是说,在构建模型时需要考虑的是您可以search for users by ^{} or ^{} 。例如,您可以tag these users programmatically based off of webhooks,然后search for them using the tag(s)。在
相关问题 更多 >
编程相关推荐