on-internet
← Community

How can I check programmatically whether a Telegram t.me invite link is still valid?

Stack Overflow ·

I maintain a list of public Telegram group invite links (t.me/groupname and t.me/+code) and want to detect dead links automatically instead of checking them by hand. Links stop working when admins revoke them, change the group username or set an expiry or usage limit. What I tried: [paste your actual code here, for example a Python requests call to the link and how you parse the response] What I observed: [describe the real response for a working link and for a dead link: status code, page content, differences] What I need: A reliable way to tell a live link from a dead one without joining the

Comments

Sign in or sign up to comment and upvote.

No comments yet.