To insert buttons into a message, add a special macro {button,type:param,text} to the message text, where: <button> – required tag pointing to the button. <text> – the label on the button. <type> – the type of button. It can take one of the following values:
tel – phone number (in this case, the number for the call is sent to param, with or without the "+" sign);
code – clicking on this type of button will copy the code to the clipboard. (colon and param are not passed.);
one_tap – sending the code to the client's application (the colon and param are not passed, but additional parameters are required for the application, separated by commas after the text.);
quick_reply – sending a predefined text text in a reply message (colon and param are not passed.).
If the type value is different, the button will be interpreted as a url click..