deep_link

If it's defined, this action block will be executed if the chat was opened through a link that contains a deep-link query string parameter.

The query string parameters are ref for Messenger and start for Telegram.

circle-info

To learn more, please read the official documentation from Messengerarrow-up-right and Telegramarrow-up-right.

Platforms

Platform
Supported

Messenger

WhatsApp

Telegram

Usage

class MainContext < Conversation

  def blocks

    deep_link do |value|
      @reply.text("You just clicked on a link with the value #{value}!")
    end

  end
  
end

value param

This param contains the value passed in the query string, for the example links above, the value is "test"

circle-check

Routing to Context

Last updated

Was this helpful?