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.);
otp_type – 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.).
If the type value is different, the button will be interpreted as a url click..