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

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

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 updated