Module

x/grammy/mod.ts>Keyboard#requestLocation

The Telegram Bot Framework.
Very Popular
Latest
method Keyboard.prototype.requestLocation
import { Keyboard } from "https://dotland.deno.dev/x/grammy@v1.31.0/mod.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