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

x/grammy_types/mod.ts>KeyboardButton.RequestLocationButton

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