Skip to content

export Interface

KeyboardButtonPayload ​

This object represents one button of an inline keyboard. Exactly one of the optional fields must be used to specify type of the button.

Properties ​

callback_data? : string ​

callback_game? : string ​

copy_text? : CopyText ​

login_url? : LoginUrl ​

pay? : boolean ​

switch_inline_query? : string ​

switch_inline_query_chosen_chat? : SwitchInlineQueryChosenChat ​

switch_inline_query_current_chat? : string ​

text : string ​

url? : string ​

web_app? : WebAppInfo ​

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