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

x/grammy_types/markup.ts>KeyboardButton.RequestUsersButton

Type declarations of the Telegram Bot API.
Latest
interface KeyboardButton.RequestUsersButton
implements CommonButton
import { type KeyboardButton } from "https://deno.land/x/grammy_types@v3.15.0/markup.ts";
const { RequestUsersButton } = KeyboardButton;

Properties

If specified, pressing the button will open a list of suitable users. Identifiers of selected users will be sent to the bot in a “users_shared” service message. Available in private chats only.