Google Voice API 接口

接收全部号码短信 按照时间顺序来

/**
 * @desc Google Voice 接收短信
 * @bash
 * @return array
 */
function Voice_Receive_Sms($bash) {

.............

}

下面是 获取指定号码的短信 按照时间顺序来

/**
 * @desc Google Voice 接收指定号码短信
 * @tel     指定电话号码
 * @bash
 * @return array
 */
function Voice_Responses_Sms($tel,$bash) {

.............

}

发送短信内容到指定号码 仅限加拿大 美国

/**
 * @desc    Google Voice 发送短信
 * @tel     接收短信的号码
 * @message 短信内容
 * @bash
 * @return array
 */
function Voice_Send_Sms($tel,$message,$bash) {
    $Post=Json_Voice($bash);
    //处理一下数据
    .........
    $response=Voice_Post($Post);
    //print_r($response);
    ...........
    return $message;
}

有兴趣的私聊。

8 thoughts on “Google Voice API 接口

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注