Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>KeyboardButton.RequestContact

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface KeyboardButton.RequestContact
implements Text
import { type KeyboardButton } from "https://deno.land/x/mtkruto@0.0.998/mod.ts";
const { RequestContact } = KeyboardButton;

Properties

requestContact: true

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