mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Document Dialogs
This commit is contained in:
parent
5c34e3f08f
commit
85e3c05216
@ -20,9 +20,17 @@ from pyrogram.api.core import Object
|
||||
|
||||
|
||||
class Dialogs(Object):
|
||||
"""This object represents a user's dialogs chunk
|
||||
|
||||
Args:
|
||||
total_count (``int``):
|
||||
Total number of dialogs the user has.
|
||||
|
||||
dialogs (List of :obj:`Dialog <pyrogram.Dialog>`):
|
||||
Requested dialogs.
|
||||
"""
|
||||
ID = 0xb0700029
|
||||
|
||||
def __init__(self, total_count: int, dialogs: list):
|
||||
# TODO docstrings
|
||||
self.total_count = total_count
|
||||
self.dialogs = dialogs
|
||||
|
Loading…
Reference in New Issue
Block a user