Skip to main content
Module

x/grammy/mod.ts>Keyboard#resized

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