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