Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>KeyboardButton.RequestContactButton

Hydration plugin for API calls and context objects.
Latest
interface KeyboardButton.RequestContactButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.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.