I have written a website which links to a Telegram channel and provides "subscribers" with alerts when certain criteria are met. This is all fine. This works. I use the botfather and a bot however it's a pain to administer.
Every week the telegram channel changes, due to subscriptions only lasting a week.
So once a week:
- a new channel is created,
- the bot is added into the new channel as an administrator
- the channel URL is entered into the bot code
Are there any methods I can use to automate this?
I'd preferably like a button which would create the channel, and add the bot without any user input. It would need to return the channel URL so I could update the message sending code.
I'm using this Gitlab package https://github.com/TelegramBot/Api
I'm just wondering if there are better ways of doing what I'm doing so I don't need to do the manual grunt work myself.
Thanks in advance, Chris