简体   繁体   English

如何通过 webhook 从 twilio 聊天频道使用打字指示器

[英]How to consume typing indicator from twilio chat channel via webhook

I'm using twilio chat service to integrate my inhouse chat platform with twilio flex.我正在使用 twilio 聊天服务将我的内部聊天平台与 twilio flex 集成。 when creating the channel via the node SDK, I register a webhook to to consume messages sent over the channel and pass them on to our chat clients.当通过节点 SDK 创建频道时,我注册了一个 webhook 来使用通过频道发送的消息并将它们传递给我们的聊天客户端。

Does the flex chat widget for agents sends a typing indicator?代理的 flex 聊天小部件是否发送打字指示符?

Are the typing indicator messages consumable via the webhook integration?打字指示消息是否可以通过 webhook 集成使用?

I think typing indicator is enabled default in flex UI and can not sent over Webhooks.我认为输入指示器在 flex UI 中默认启用,不能通过 Webhooks 发送。

Please check this Flex请检查此Flex

Also there is few links for typing indicator.也有几个用于输入指示器的链接。 Js code document js代码文档

Twilio developer evangelist here. Twilio 开发人员布道者在这里。

Typing indicator messages are not sent over webhooks, only through the Chat SDKs .键入指示符消息不通过 webhooks 发送,只能通过Chat SDKs 发送

Sohail is also correct that the Flex UI will send typing indicator messages that can be consumed from the Chat SDK on the user side (for example, the Flex Web Chat UI can use the typing indicator ). Sohail 也是正确的,Flex UI 将发送可以从用户端的 Chat SDK 使用的键入指示符消息(例如, Flex Web Chat UI 可以使用键入指示符)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM