Document

class pyrogram.raw.base.Document

A document.

Constructors

This base type has 2 constructors available.

Document

Document.

DocumentEmpty

Empty constructor, document doesn’t exist.

Methods

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.