fixed docstrings

This commit is contained in:
ak4zh 2020-10-11 00:49:13 +05:30
parent 77a57cb2ac
commit 55b1ff75e2

View File

@ -1127,17 +1127,17 @@ class MessageMethods:
user: 'hints.EntityLike' 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:: .. warning::
This method cannot by used by bot accounts. This method will not work when connected from a bot account using bot token.
Arguments Arguments
entity (`entity`): entity (`entity`):
From which supergroup the message will be deleted. The supergroup from which the message will be deleted.
user (`entity`): user (`entity`):
User whose message history should be deleted User whose message history will be deleted
Returns Returns
:tl:`AffectedHistory`, with attribute pts_count which contains the count of messages deleted :tl:`AffectedHistory`, with attribute pts_count which contains the count of messages deleted