我很难准备将数组显示为 nlinequeryresultcachedmpeg4gif
这是我的示例,但是不起作用
https://core.telegram.org/bots/api#inlinequeryresultcachedmpeg4gif
$results = array(
array(
"type" => "mpeg4_gif",
"id" => "12",
"mpeg4_file_id" => "CgADBAADFQIAAr82aQxT5l6voybkZwI"
)
);
$results = json_encode($results);
$content = array('inline_query_id' => $inline_query_id, "results" => $results);
$telegram->answerInlineQuery($content);