mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix night-mode stylesheet. Small changes in docs.
This commit is contained in:
parent
ba7d2323c8
commit
18854185b2
6 changed files with 75 additions and 31 deletions
|
|
@ -20,6 +20,13 @@ class InputFile(ABC):
|
|||
"""
|
||||
|
||||
def __init__(self, filename: Optional[str] = None, chunk_size: int = DEFAULT_CHUNK_SIZE):
|
||||
"""
|
||||
Base class for input files. Should not be used directly.
|
||||
Look at :class:`BufferedInputFile`, :class:`FSInputFile` :class:`URLInputFile`
|
||||
|
||||
:param filename: name of the given file
|
||||
:param chunk_size: reader chunks size
|
||||
"""
|
||||
self.filename = filename
|
||||
self.chunk_size = chunk_size
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue