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.
deep_link(&block)
deep_link(&block)
Platforms
Platform | Supported |
---|---|
Messenger | |
Telegram |
Example Links
Messenger: https://m.me/kogno.io?ref=test
https://m.me/kogno.io?ref=test
Telegram: https://t.me/KognoBot?start=test
https://t.me/KognoBot?start=test
Usage
value
param
value
paramThis param contains the value passed in the query string, for the example links above, the value is "test"
Routing to Context
A deep-link can be handled by other context different than the default context, simply by passing the name of an existing context as a part of the parameter value:
Messenger: ?ref=context_name_some_value
Telegram: ?start=context_name_some_value
Read more about this in Context Routing chapter.
Last updated