Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
interface KeyboardButton.RequestUserButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy@v1.19.1/types.web.ts";
const { RequestUserButton } = KeyboardButton;

Properties

If specified, pressing the button will open a list of suitable users. Tapping on any user will send their identifier to the bot in a “user_shared” service message. Available in private chats only.