Skip to content

export Function

Location ​

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

Constructor ​

ts
ReplyButton.Location( text )
ParameterTypeDescription
textstringLabel text on the button.

Return: ReplyButtonPayload