3

I'm working application that integrates with telegram and I had issue I create group and have admin on it and bot I add bot that I can get messages update from the group chat problem is when I delete message from group chat by admin is should not be showing here

https://api.telegram.org/bot123456789token/getUpdates/

but I get all message history even I delete them any idea of what's is wrong?

Adam Kim
  • 63
  • 2
  • 6
  • There are 2 types of deletions of messages of chats! One you only delete msg from your client. Another is to completely deleting of the message. Update your telegram client (android, desktop,... ), the when you try to delete the message, it asks you if it should delete the message for other users too or not? – tashakori Jun 27 '17 at 07:27
  • i need completely delete it – Adam Kim Jun 27 '17 at 12:27
  • Is it still shown in the group? I could imagine that it´s still mentioned under `getupdates` because you made an update. – creyD Jun 28 '17 at 06:32
  • @creyD when i do getupdate its show even admin already delete it from group – Adam Kim Jun 28 '17 at 18:11
  • Yeah I know because the method only tracks updates. The question is: is it still shown in the client? – creyD Jun 29 '17 at 06:38
  • @creyD yes its show – Adam Kim Jun 29 '17 at 14:53
  • @AdamKim Okay I´ve researched a bit and it looks like you just can´t delete the message for other group members - at the moment. Maybe the will add the feature later, but for now that´s it... – creyD Jun 30 '17 at 06:14
  • @tashakori It looks like this function only is available for normal chats and not for groups.. – creyD Jun 30 '17 at 06:15
  • Look at this [deleteMessage](https://core.telegram.org/bots/api#deletemessage) method – Harshad Raval Aug 26 '21 at 06:00

0 Answers0