Module

x/grammy_types/markup.ts>KeyboardButton.RequestLocationButton

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface KeyboardButton.RequestLocationButton
implements CommonButton
import { type KeyboardButton } from "https://dotland.deno.dev/x/grammy_types@v3.6.2/markup.ts";
const { RequestLocationButton } = KeyboardButton;

Properties

request_location: boolean

If True, the user's current location will be sent when the button is pressed. Available in private chats only.