You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose adding a method to the Bot API to delete all messages from a group member (possibly including other bots), like users can do already with the channels.deleteParticipantHistory MTProto method/deleteChatMessagesBySender TDLib method.
This method would allow bots to delete all user messages without having to store them and send multiple deleteMessages requests.
Additionally, it could be useful for bots that block regular members from adding (malicious) bots but not users, allowing them to clear their messages after removing them.
The text was updated successfully, but these errors were encountered:
The method channels.deleteParticipantHistory can't be allowed for bots, because they must receive response fast enough and the method may need to delete millions messages, which will take minutes to complete.
I propose adding a method to the Bot API to delete all messages from a group member (possibly including other bots), like users can do already with the
channels.deleteParticipantHistory
MTProto method/deleteChatMessagesBySender
TDLib method.Related suggestion card: link
Use case
This method would allow bots to delete all user messages without having to store them and send multiple
deleteMessages
requests.Additionally, it could be useful for bots that block regular members from adding (malicious) bots but not users, allowing them to clear their messages after removing them.
The text was updated successfully, but these errors were encountered: