Twilio SMS 多部分消息 [英] Twilio SMS multi part messages

查看:34
本文介绍了Twilio SMS 多部分消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当通过 Twilio 接收彩信时,一些电话/服务提供商可能会将多个附件拆分为多个单独的文本消息,即使文本消息的发送者将它们附加到同一条文本消息中.

When receiving MMS messages through Twilio, some phones/service providers may split multiple attachments up into multiple, separate text messages even though the originator of the text message attached them into the same text message.

在接收消息时,我的应用是否可以使用某种方式(希望是某种密钥)来确定应将传入的多条消息组合在一起并考虑同一短信的一部分?

When receiving the messages, is there some way (hopefully a key of some kind) that my app can use to determine that multiple messages coming in should be grouped together and consider part of the same text message?

推荐答案

Twilio 支持 入站连接消息 最多 1,600 个字符.超过 160 个字符的入站消息也将作为一条消息通过您的 Twilio 电话号码接收.

Twilio supports inbound concatenated messages up to 1,600 characters. Inbound messages over 160 characters will also be received on your Twilio phone number as one single message.

虽然这取决于您所说的运营商,但您可以随时查看消息 实例资源,其中的消息可以通过它们的 Sid 轻松识别.

While this is dependent upon carrier like you said, you can always check a messages instance resource, where messages are easily identified by their Sid.

正如 Phil 所说,如果您遇到意外行为,请将这些消息的示例发送至 Twilio 支持 进一步检查.

And as Phil mentioned, if you are experiencing unexpected behavior send examples of those messages to Twilio Support for further examination.

这篇关于Twilio SMS 多部分消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆