Telegram Deep Linking
Last updated
Was this helpful?
Last updated
Was this helpful?
Xenioo Telegram channel fully supports the link format. This enables your chatbot to automatically present your user with different informations depending on a specific keyword added to your chat link.
A standard Telegram chat link would look something like this:
Where <BOT_NAME> is the name of your page. To build a referral link, you just add the referral parameter at the end of the link like this:
The <REF_PARAM> value can be any single word without blank spaces, and it is going to be the value your bot will be looking for.
Inside your chatbot, the referral value will be available in a variable named referral. Inside your chatbot startup flow, you can use the referral value to accordingly.