Global Methods
Last updated
Was this helpful?
Last updated
Was this helpful?
set_payload(payload=String, params=Hash)
Creates a .
This payload with its parameters will be received by a postback
action block in the products context. Read about .
The payload in Telegram is called and it only supports 64 characters. In Kogno we managed to increase that limit to much more, so you should not worry about that limit anymore.
html_template(route=String, params=Hash)
Render a template with .rhtml
extension from the bot/templates/context_name/
directory.
The template "main/demo1"
will be located in bot/templates/main/demo1.rhtml
.