Skip to content

export Function

Contact ​

The user's phone number will be sent as a contact when the button is pressed. Available in private chats only.

Constructor ​

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

Return: ReplyButtonPayload