Where is this on the api???
Solved.
$reply_markup = json_encode([
'remove_keyboard' => true,
]);
$telegram->sendMessage([
// other fields
'reply_markup' => $reply_markup,
]);
for SDK >= 3.0
use Telegram\Bot\Keyboard\Keyboard;
...
$reply_markup = Keyboard::remove();
$telegram->sendMessage([
// other fields
'reply_markup' => $reply_markup,
]);
Most helpful comment
Solved.