InputFile¶
-
class
aiogram.types.input_file.InputFile(path_or_bytesio, filename=None, conf=None)[source]¶ Bases:
aiogram.types.base.TelegramObjectThis object represents the contents of a file to be uploaded. Must be posted using multipart/form-data in the usual way that files are uploaded via the browser.
Also that is not typical TelegramObject!
https://core.telegram.org/bots/api#inputfile
- Parameters
path_or_bytesio –
filename –
conf –