FruitieX / teleirc

A simple Telegram ↔ IRC gateway.
MIT License
273 stars 88 forks source link

Handle editing Telegram messages somehow #134

Closed Mikaela closed 6 years ago

Mikaela commented 8 years ago

Since now all messages can be edited in any chat within two days and as typos are common on mobile and happen, I think TeleIRC should start handling them somehow.

Someone suggested git diff like

- Tyyped mesage her,
+ Typoed message here.

which might be the best, but spammy, so maybe handle it like multi-lined messages.

- Tyyped mesage her, .. + Typoed message here.

But would that be understood as what it is? It could always be explained though if anyone wonders. I think better symbols could be thought though.

FruitieX commented 8 years ago

Checking the Bot API docs, there doesn't seem to be anything new yet allowing us to catch edited messages. Keep in mind that the Bot API is an entirely different way of fetching Telegram messages than what normal clients are using, so the capabilities between these APIs may be out of sync.

It's also possible that this feature is just undocumented as of yet...

Mikaela commented 8 years ago

Confirmed with teleirc -vv: currently Telegram doesn't inform bots of message edits at all.

Mikaela commented 8 years ago

[Forwarded from Combot / Dev progress, community hints&tips (Fedor Skuratov)]

api

Telegram just updated their Bot API to 2.1.

Now we can add many important and useful features!

https://core.telegram.org/bots/api#recent-changes

via https://telegram.me/comstatbot_news/84

Tuupertunut commented 6 years ago

This has been implemented in PR #236.

Mikaela commented 6 years ago

Thanks for noticing and sorry for slow response, my email is a chaos.