Very Popular
Go to Latest
interface KeyboardButton.RequestChatButton
implements CommonButton
import { type KeyboardButton } from "https://dotland.deno.dev/x/grammy@v1.17.1/types.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.