Document

class aiogram.types.document.Document(conf: Optional[Dict[str, Any]] = None, **kwargs: Any)[source]

Bases: aiogram.types.base.TelegramObject, aiogram.types.mixins.Downloadable

This object represents a general file (as opposed to photos, voice messages and audio files).

https://core.telegram.org/bots/api#document

Deserialize object

Parameters
  • conf

  • kwargs