Module

x/grammy_types/markup.ts>KeyboardButton.RequestContactButton

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