Skip to main content
Very Popular
Go to Latest
method Keyboard.prototype.resized
import { Keyboard } from "https://deno.land/x/grammy@v1.12.0/convenience/keyboard.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