0
試圖製作REST API skype機器人但存在建議操作消息的問題。 我的代碼編寫JSON是這樣的:REST API SkypeBot建議的操作
$message = [
"type" => "message",
"from" => [
"id" => $clientid,
],
"conversation" => [
"id" => $chatid,
],
"recipient" => [
"id" => $chatid,
],
"text" => "Color",
"inputHint" => "expectingInput",
"suggestedActions" => [
"to" => [ $reptoid ],
"actions" => [
[
"type" => "imBack",
"title" => "Blue",
"value" => "Blue"
],
[
"type" => "imBack",
"title" => "Green",
"value" => "Green"
],
],
],
"replyToId" => $replyid
];
我送後 - 我得到了Skype的純文本,wihout任何按鈕。 我在幹什麼?