Introduction
Getting Started
API Reference
Topic Guides
Meta
Telegram API
pyrogram.raw.base.
Document
A document.
This base type has 2 constructors available.
Document.
DocumentEmpty
Empty constructor, document doesn’t exist.
This object can be returned by 2 methods:
account.UploadTheme
Upload theme.
messages.GetDocumentByHash
Get a document by its SHA256 hash, mainly used for gifs.