hamsket
hamsket copied to clipboard
[Telegram] Use new Telegram React client.
React Telegram client is listed here: https://telegram.org/apps
Expected behavior
https://evgeny-nadymov.github.io/telegram-react/
Actual behavior
https://web.telegram.org
I don't think a github repo with a custom URL counts as an official telegram replacement.
That's an alternative, community based, client.
You can use it with the "_Custom Service" button in Hamsket if you wish.
The official telegram web client has also a github repo. They have a list of recommended web apps you can use. Telegram hasn't changed the domain to point to the new react app though.
The author of the new client (which as you said is just as official as the old one) provided some JS in evgeny-nadymov/telegram-react#217:
chat.on('updateChatReadInbox', () => {
const total = Array.from(chat.items.values()).map(x => x.unread_count).reduce((a, b) => a+b)
hamsket.updateBadge(total)
})