Very Popular
Go to Latest
interface KeyboardButton.RequestUserButton
implements CommonButton
import { type KeyboardButton } from "https://dotland.deno.dev/x/grammy@v1.15.0/types.deno.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.