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

x/grammy/mod.ts>Keyboard#placeholder

The Telegram Bot Framework.
Go to Latest
method Keyboard.prototype.placeholder
import { Keyboard } from "https://deno.land/x/grammy@v1.19.1/mod.ts";

Set the current keyboard's input field placeholder. See https://grammy.dev/plugins/keyboard.html#input-field-placeholder for more details.

Parameters

value: string

The placeholder text