html
This method creates a message in HTML format.
Last updated
This method creates a message in HTML format.
Last updated
html(code=String, reply_markup=Hash, extra_params=Hash)
Platform | Supported |
---|---|
.rhtml
templateThe template "main/demo1" is located in bot/action_templates/main/demo1.rhtml
file.
Read more about html_template
method here.
Name | Description |
---|---|
Messenger
Telegram
code
String
Required.
The HTML code, 4096 characters max. View the full html tags supported by Telegram here.
reply_markup
Hash
Optional. Hash with one element that can be:
:quick_reply
=> inlinekeyboardmarkup
:button
=> replykeyboardmarkup
extra_params
Hash
Optional. Hash with more params, view the full list from Telegram.