Skip to main content
Module

x/grammy_menu/deps.deno.ts>Keyboard#selected

Easily create interactive menus with grammY.
Go to Latest
method Keyboard.prototype.selected
import { Keyboard } from "https://deno.land/x/grammy_menu@v1.1.2/deps.deno.ts";

Make the current keyboard selective. See https://grammy.dev/plugins/keyboard.html#selectively-send-custom-keyboards for more details.

Keyboards are non-selective by default, use this function to enable it (without any parameters or pass true). Pass false to force the keyboard to be non-selective.

Parameters

optional
isEnabled = [UNSUPPORTED]

true if the keyboard should be selective, and false otherwise