InviteMember-Telegram integration leverages Telegram Bot API.
providing a robust and reliable backend for your membership bot;
adding new members to your private channels and groups;
removing members when their subscription is over.
Your Membership Bot
Telegram bots are small apps that live inside the Telegram ecosystem.
Your membership bot is the main interface your clients will use to:
check out what plans you're offering;
make one-time payments;
start and stop recurring subscriptions;
activate access codes;
check their current subscription status at any time;
get access to channels and groups they paid for;
get renewal reminders;
get removal notifications;
receive your broadcasts;
communicate with you or your team through the built-in support system.
Luckily, you don't have to write any code for all these features, we already did it.
Only two actions are required from you:
After that, InviteMember will register itself as a backend for your membership bot and start making/answering requests.
We're using invite links for granting access to private channels and groups.
InviteMember generates a single-use invite link for each of your customers and monitors these links in real time. It's not possible to use an invite link issued for someone else — in such cases, InviteMember will revoke the link and kick the unauthorized user immediately.
In the following cases, InviteMember will check if a user has to be removed from your channels and groups:
a subscription (or a free trial) is over;
a recurring subscription has been canceled;
a user has joined your group;
InviteMember has run a check on its own (we may run such checks randomly).
InviteMember may check all your bot users, not only those who made any payments or started any subscriptions.
To remove members, we simply call an API method that bans the user from your channel/group.
If you'll decide to grant access to someone for free — you have three options:
The bot will never kick whitelisted members and administrators from your channels and groups (even if they don't have active payments/subscriptions).
You can ban someone from using your bot completely. The bot will simply ignore all the messages from the banned user.
See instructions on How To Ban a User.