Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grammy/mod.ts>Keyboard#resized

The Telegram Bot Framework.
Go to Latest
method Keyboard.prototype.resized
import { Keyboard } from "https://deno.land/x/grammy@v1.23.1/mod.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