I have problem with inline bot my bot work without 'reply_markup' when I use 'reply_markup' nothing to show
function buildInlineKeyboard(array $options) {
$replyMarkup = array(
'inline_keyboard' => $options,
);
$encodedMarkup = json_encode($replyMarkup, true);
return $encodedMarkup;
}
$keyboard = $tel->buildInlineKeyboard(array(
array(
$tel->buildInlineKeyboardButton('View Message', '', 'viewNews_')
)
));
$item[] = array(
"type" => "article",
"id" => (string)++$i,
"title" => $plays['team1'] . " - " . $plays['team2'],
'description' => $title . ' - ' . $news['title'],
'input_message_content' => array(
'message_text' => $news['title'],
'parse_mode' => 'HTML'
),
'reply_markup' => $keyboard
);
when I comment 'reply_markup' bot work an show articles and when I use 'reply_markup' nothing to show in inline mode I set webhook no error to show $keyboard work with sendMessage