Reply Keyboard Markup telegram
$keyboard = [["7", "8", "9"], ["4", "5", "6"], ["1", "2", "3"], ["0"]]; $reply_markup = $telegram->replyKeyboardMarkup([ 'keyboard' => $keyboard, 'resize_keyboard' => true, 'one_time_keyboard' => true ]); $response = $telegram->sendMessage([ 'chat_id' => $update->message->chat->id, 'text' => "Hello {$update->message->from->first_name}", 'reply_markup' => $reply_markup ]);