0
에 내가 사진이나 파일을 전송 및 콜백 데이터를 얻을 지금 내가 할 때 사용자 보도 인라인 버튼을 사진을 보낼 수있는 방법 그것을사용자 보도 인라인 버튼 후 사진을 보내 - 전보 봇 PHP
에 대답하는 방법을 알고?
여기에 내 코드
$option = array(
array(
$telegram->buildInlineKeyboardButton($text="One","",$callback_data="One",""),
$telegram->buildInlineKeyboardButton($text="Two","",$callback_data="Two","")
)
);
$keyb = $telegram->buildInlineKeyBoard($option);
$content = array(
'chat_id' => $chat_id,
'reply_markup' => $keyb,
'text' => "One Or Two ?"
);
$telegram->sendMessage($content);
어떤 대답