mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-31 10:19:48 +03:00
fixed docstrings
This commit is contained in:
parent
77a57cb2ac
commit
55b1ff75e2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user