Skip to main content
Module

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

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

Make the current keyboard resized. See https://grammy.dev/plugins/keyboard.html#resize-custom-keyboard for more details.

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

Parameters

optional
isEnabled = [UNSUPPORTED]

true if the keyboard should be resized, and false otherwise