PushBullet 读取短信线程

问题描述

我正在尝试构建一个 Google 应用脚本,以从链接到 pushbullet 帐户的手机读取短信。 我能够阅读每个线程的最后一条短信 调用 GET 到 https://api.pushbullet.com/v2/permanents/ABC123_threads 但我无法阅读线程中的先前消息。 在 api 文档中,我没有看到这样做的功能。 有谁知道怎么做..

我正在分享我从之前给出的调用中获得的 JSON 输出

{
"threads":[
{
"id":"120","recipients":[
{
"name":"phone","address":"phone","number":"phone"
}
],"latest":{
"id":"649","type":"sms","timestamp":1614794223,"direction":"outgoing","body":"hol","status":"sent","guid":"o0gmbhksp5gkcbodskb7n8"
}
},{
"id":"118","recipients":[
{
"name":"5895","address":"5895","number":"5895"
}
],"latest":{
"id":"646","timestamp":1614776820,"direction":"incoming","body":"texto"
}
},{
"id":"119","latest":{
"id":"643","timestamp":1614613659,"body":"hi"
}
}
]
}
{
"threads":[
{
"id":"120","body":"hi"
}
}
]
}
Author: Olivier Cuenot

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)