Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/markup.ts>KeyboardButton.RequestUserButton

Type declarations of the Telegram Bot API.
Go to Latest
interface KeyboardButton.RequestUserButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy_types@v3.3.0/markup.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.