Telegram Activity Photo
Automatically set the profile photo of your Telegram group to activity rings. (Good for live statistics with goals.)
Your Telegram-Bot needs permission to change the group information (https://core.telegram.org/bots/api#setchatphoto).
How to get the $botToken
Ask the Telegram @BotFather for the token of your bot.
How to get the $chatId
- Point the Webhook-URL of your bot to the hook.php file.
- Edit the hook.php file and add the $botToken value.
- Add your bot to the group chat.
- Add the bot as a administrator.
- Write anything in the group.