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.
deep_link(&block)
deep_link(&block)Platforms
Platform
Supported
Example Links
Messenger: https://m.me/kogno.io?ref=test
https://m.me/kogno.io?ref=testTelegram: https://t.me/KognoBot?start=test
https://t.me/KognoBot?start=testUsage
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
value paramLast updated
Was this helpful?