2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 13:27:47 +00:00

Clean up Photo and PhotoSize docstrings

This commit is contained in:
Dan 2018-07-12 14:16:08 +02:00
parent 62f575d53f
commit 109e3836cf
2 changed files with 3 additions and 3 deletions

View File

@ -27,10 +27,10 @@ class Photo(Object):
Unique identifier for this photo. Unique identifier for this photo.
date (``int``): date (``int``):
Date the photo was sent in Unix time Date the photo was sent in Unix time.
sizes (List of :obj:`PhotoSize <pyrogram.PhotoSize>`): sizes (List of :obj:`PhotoSize <pyrogram.PhotoSize>`):
Available sizes of this photo Available sizes of this photo.
""" """
ID = 0xb0700027 ID = 0xb0700027

View File

@ -20,7 +20,7 @@ from pyrogram.api.core import Object
class PhotoSize(Object): class PhotoSize(Object):
"""This object represents one size of a photo or a file / sticker thumbnail. """This object represents one size of a photo or a file/sticker thumbnail.
Args: Args:
file_id (``str``): file_id (``str``):