Skip to main content
Module

x/grammy_menu/deps.deno.ts>Keyboard#requestLocation

Easily create interactive menus with grammY.
Go to Latest
method Keyboard.prototype.requestLocation
import { Keyboard } from "https://deno.land/x/grammy_menu@v1.1.2/deps.deno.ts";

Adds a new location request button. The user's current location will be sent when the button is pressed. Available in private chats only.

Parameters

text: string

The text to display