Kogno
Search
K

url

Creates a message that includes a link to a website, as well as a title, subtitle, photo and a button label.

url(params=Hash)

Platforms

Platform
Supported
Messenger
WhatsApp
Telegram

Usage

@reply.url(
{
title: "Follow Kogno on Twitter",
sub_title: "Get any update from our framework.",
image: "https://pbs.twimg.com/profile_images/1533726469641338881/Q9dM6DpM_400x400.jpg",
url: "https://twitter.com/kogno_framework",
button: "Follow US"
}
)

Params

Name
Description
title String
Required.
URL Title
sub_title String
Optional. Brief description displayed below the title.
image String
Required. An image url
url String
Required. An image url
button String
Optional. A button label.
Not available in WhatsApp.
In Messenger can be included two extra parameters: messenger_extensions (boolean) and image_aspect_ratio (:horizontal or :square). If they are present, the other platforms will just ignore them.
Last modified 1yr ago