Idea Mark alerts as read from Telegram

Laiteux

@matteo
Laiteux Rep
24
0
0
Rep
84
Laiteux Vouches
18
0
0
Vouches
18
3 YEAR
3 YEAR OF SERVICE
Divine
Laiteux Rep
24
0
0
Rep
84
Laiteux Vouches
18
0
0
Vouches
18
Posts
9
Likes
108
3 YEAR
3 YEAR OF SERVICE
LEVEL 13 61,575 XP
 
Yay! Very happy we can now receive alerts/messages on Telegram!

AFAIK I was the one who suggested it, so here's another suggestion to make this feature even better 🤓
(I assume it should also be relevant for Discord, but I'm not a Discord guy ;)

Add a 👁️ Mark read "callback inline keyboard button" to the Telegram notifications we get for new alerts/messages.

Once it gets pressed:
- Well, mark the alert/message as read on-site
- Edit the alert Telegram message (requires storing its ID, after sending it) to not include the keyboard button anymore

The reason for this is that I find it pretty useless to have "duplicate" notifications (or messages!) on both Telegram as well as on-site, if you acknowledge them from a webhook already. It would also allow for easy filtering of "what's to keep in mind for later", talking about alerts you might want to interact with once logged on-site (e.g. vouch return).

That would usually require having a bot that runs 24/7, polling for updates (of type CallbackQuery in this case), however Telegram also offers the ability to send you those updates to a webhook. Probably that would fit better since you can then simply host an API.

Gave you as much details as I could so there's no "not a Telegram guy" excuse @Akh :kingz_cop: (I can obviously help out with it, if ever)
 
Live Activity
No one is currently typing
Top