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

x/grammy_types/markup.ts>KeyboardButton.RequestChatButton

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

Properties

If specified, pressing the button will open a list of suitable chats. Tapping on a chat will send its identifier to the bot in a “chat_shared” service message. Available in private chats only.