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