| KeyboardButton | R Documentation |
This object represents one button of the reply keyboard. Optional fields are mutually exclusive.
KeyboardButton(
text,
request_contact = NULL,
request_location = NULL,
web_app = NULL
)
is.KeyboardButton(x)
text |
Text of the button. If none of the optional fields are used, it will be sent as a message when the button is pressed. |
request_contact |
(Optional). If |
request_location |
(Optional). If |
web_app |
(Optional). URL string or list describing a Web App to be
launched when the button is pressed. If a string is provided, it will
be wrapped as |
x |
Object to be tested. |
Note: request_contact and request_location
options will only work in Telegram versions released after 9 April,
2016. Older clients will ignore them.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.