From 55b1ff75e29d56fbc6ba624544b393b0355f335b Mon Sep 17 00:00:00 2001 From: ak4zh Date: Sun, 11 Oct 2020 00:49:13 +0530 Subject: [PATCH] fixed docstrings --- telethon/client/messages.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/telethon/client/messages.py b/telethon/client/messages.py index 7a91604a..044eac0e 100644 --- a/telethon/client/messages.py +++ b/telethon/client/messages.py @@ -1127,17 +1127,17 @@ class MessageMethods: user: 'hints.EntityLike' ): """ - Deletes the all message history of a particular user from supergroup. + Deletes the message history of a particular user from a supergroup. .. warning:: - This method cannot by used by bot accounts. + This method will not work when connected from a bot account using bot token. Arguments entity (`entity`): - From which supergroup the message will be deleted. + The supergroup from which the message will be deleted. user (`entity`): - User whose message history should be deleted + User whose message history will be deleted Returns :tl:`AffectedHistory`, with attribute pts_count which contains the count of messages deleted