Skip to main content
Module

x/grammy_conversations/deps.deno.ts>Keyboard#persistent

Conversational interfaces for grammY.
Latest
method Keyboard.prototype.persistent
import { Keyboard } from "https://deno.land/x/grammy_conversations@v1.2.0/deps.deno.ts";

Make the current keyboard persistent. See https://grammy.dev/plugins/keyboard.html#persistent-keyboards for more details.

Keyboards are not persistent by default, use this function to enable it (without any parameters or pass true). Pass false to force the keyboard to not persist.

Parameters

optional
isEnabled = [UNSUPPORTED]

true if the keyboard should persist, and false otherwise