mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add some doc's
This commit is contained in:
parent
595caaa458
commit
0b8a37b38a
37 changed files with 498 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue