Hello community, surely a stupid question. How can I read the ID of an invitationlink?
Format: https://t.me/ThisIsMyBot?start=THISISWHATINEED
I would like to read this value (THISISWHATINEED) and then process it further.
Hello community, surely a stupid question. How can I read the ID of an invitationlink?
Format: https://t.me/ThisIsMyBot?start=THISISWHATINEED
I would like to read this value (THISISWHATINEED) and then process it further.
Hi Patrick,
Unfortunately I don’t believe that Telegram has any support for referral links which can be detected as metadata in a flow. You could do this through Facebook Messenger which has m.me links that you can stick ref parameters onto. Please see our docs on creating a Facebook Messenger bot for more details.
Thanks,
Dan
Hi there,
Unfortunately no we don’t support refid’s in telegram. The only ref-id that is supported would be if you wanted to install the bot into a telegram group, at which point you can use the link:
Hi @Zara,
I’m sorry but refid’s for Telegram are still not supported in Flow XO.
my bot also needs an affiliate program, but it’s impossible to do it directly through the link. But, you can make a referral program for a promotional code.
You can use deep linking in Flow XO now. If you use ?start=xyz in your links, Flow XO will be sent the message ‘/start xyz’
What you need to do is catch that with a Catch-All trigger that is filtered to ‘message contains /start’
Then you could use a code block to split out the payload, or the ‘xyz’ portion.
Nathan