Module

x/grammy/mod.ts>Keyboard#selected

The Telegram Bot Framework.
Very Popular
Latest
method Keyboard.prototype.selected
import { Keyboard } from "https://dotland.deno.dev/x/grammy@v1.31.0/mod.ts";

Make the current keyboard selective. See https://grammy.dev/plugins/keyboard#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