Skip to content
Automatically set the Telegram group chat photo to Apple Watch activity rings.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rings
README.md
hook.php
screenshot.png
setPhoto.php

README.md

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).

Preview

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.
You can’t perform that action at this time.