hamsket icon indicating copy to clipboard operation
hamsket copied to clipboard

[Telegram] Use new Telegram React client.

Open jonaspm opened this issue 4 years ago • 3 comments

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

jonaspm avatar Apr 20 '20 18:04 jonaspm

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.

leogallego avatar Apr 22 '20 22:04 leogallego

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.

jonaspm avatar Apr 22 '20 23:04 jonaspm

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

flying-sheep avatar Jul 23 '20 18:07 flying-sheep