Add some doc's

This commit is contained in:
Alex Root Junior 2017-06-06 15:02:27 +03:00
parent 595caaa458
commit 0b8a37b38a
37 changed files with 498 additions and 5 deletions

View file

@ -3,6 +3,11 @@ from .photo_size import PhotoSize
class Document(Deserializable):
"""
This object represents a general file (as opposed to photos, voice messages and audio files).
https://core.telegram.org/bots/api#document
"""
def __init__(self, file_id, thumb, file_name, mime_type, file_size):
self.file_id: str = file_id
self.thumb: PhotoSize = thumb