smooch - 如何在 Smooch 中阻止用户 - 垃圾邮件发送者
问题描述
我正在使用 Smooch 将 Whatsapp 和 Facebook 与我的 API 集成。
有没有办法在 Smooch 端阻止一些用户,以便我的 API 不再从他们那里收到任何消息,或者我应该在后端端这样做?
在文档中提到了一个blocked
标志Client Schema
所以它可能表明它在 Smooch 方面是可行的。
解决方案
The blocked
flag on a client indicates that the user has blocked communication from the business (attempts to send a message to a blocked client will result in a delivery error).
There is currently no way for the business to block communication from a user on Smooch's side, so you'd have to implement that logic yourself
推荐阅读
- excel - 在 Excel 中用顺序数据填充大量行
- xamarin - 如何确保 iOS 正确挂起 Xamarin Forms 应用程序(AVAudioSessionCategoryPlayback 模式)以防止电池耗尽?
- c++ - 如何创建一个以数字范围为键的 unordered_map | C++
- r - 如何使用 Rmpfr::mpfr 减少计算时间?
- excel - 使用查找/替换编辑 Word 标题
- bash - 使用 sudoers 来限制 www-data 的脚本文件?(nohup)
- unix - 在 UNIX 中替换文件末尾的十六进制分隔符和额外字符
- javascript - Esri JS Api 4.18 需要 node_models 的 ncp 副本以用于 BUILD 和 START。我需要复制资产以在 storybook.js 中工作吗?
- angular - Angular向构造函数添加服务导致没有内容显示
- jwt - 为什么 Quarkus JWT 在每个端点上都未经授权返回