Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
interface KeyboardButton.RequestContactButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy@v1.19.1/types.deno.ts";
const { RequestContactButton } = KeyboardButton;

Properties

request_contact: boolean

If True, the user's phone number will be sent as a contact when the button is pressed. Available in private chats only.