Skip to content

export Function

Text ​

Constructor ​

ts
 KeyboardButton.Text( text )
ParameterTypeDescription
textstringLabel text on the button.

Return: KeyboardButtonPayload

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.