Interface RequestLocationButton

interface RequestLocationButton {
    requestLocation: boolean;
    text: string;
}

Hierarchy (view full)

Properties

requestLocation: boolean

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

text: string

Text of the button. If none of the optional fields are used, it will be sent as a message when the button is pressed