I have this private telegram channel which I’ll charge for access (premium content). I just have found that now you can create a temporary invite link that expires by time or by number of clicks (see attachment). This would be great to automate my payment process as I could generate a unique link for each new customer that makes a payment, so they can only use once, and won’t be able to share to others.
Any ideas on how to generate this links using the API? This feature must be really new as I haven’t found anything in the documentation.
Many thanks in advance,
Ed
2
Answers
link
, press Enter and RTMExample:
https://core.telegram.org/bots/api#createchatinvitelink
Also look at the
member_limit
param for this method.See the php function for this problem: