Skip to main content
Module

x/grammy_types/mod.ts>KeyboardButton.RequestUserButton

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface KeyboardButton.RequestUserButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy_types@v3.3.0/mod.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.