mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 13:34:51 +00:00
Fix DeletedMessagesHandler docstrings
This commit is contained in:
parent
c5fb0d6079
commit
afc0c87cd3
1 changed files with 5 additions and 5 deletions
|
|
@ -20,14 +20,14 @@ from .handler import Handler
|
|||
|
||||
|
||||
class DeletedMessagesHandler(Handler):
|
||||
"""The Deleted Message handler class. Used to handle deleted messages coming from any chat
|
||||
"""The Deleted Messages handler class. Used to handle deleted messages coming from any chat
|
||||
(private, group, channel). It is intended to be used with
|
||||
:meth:`add_handler() <pyrogram.Client.add_handler>`
|
||||
|
||||
Args:
|
||||
callback (``callable``):
|
||||
Pass a function that will be called when a new Message arrives. It takes *(client, message)*
|
||||
as positional arguments (look at the section below for a detailed description).
|
||||
Pass a function that will be called when one or more Messages have been deleted.
|
||||
It takes *(client, messages)* as positional arguments (look at the section below for a detailed description).
|
||||
|
||||
filters (:obj:`Filters <pyrogram.Filters>`):
|
||||
Pass one or more filters to allow only a subset of messages to be passed
|
||||
|
|
@ -37,8 +37,8 @@ class DeletedMessagesHandler(Handler):
|
|||
client (:obj:`Client <pyrogram.Client>`):
|
||||
The Client itself, useful when you want to call other API methods inside the message handler.
|
||||
|
||||
messages (:obj:`Message <pyrogram.Messages>`):
|
||||
The received messages.
|
||||
messages (:obj:`Messages <pyrogram.Messages>`):
|
||||
The deleted messages.
|
||||
"""
|
||||
|
||||
def __init__(self, callback: callable, filters=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue