我想在手机和中央服务器之间发送彩信/短信。最初,我想到了Twilio,但看起来他们不支持彩信。
他们使用的API是否支持彩信和短信?最好是在Python中,但Java或Ruby也可以。
答案 0 :(得分:1)
答案 1 :(得分:0)
如果您想使用我们的Python library发送彩信,可以使用以下代码:
message = client.messages.create(to="+12316851234", from_="+15555555555",
body="Hello there!",
media_url=['https://demo.twilio.com/owl.png', 'https://demo.twilio.com/logo.png'])
或者如果你正在寻找一些更复杂的东西,我会推荐这篇关于我的好朋友Greg taught his dog to send him MMS selfies using Python and an Arduino Yun的帖子。