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.

Functions:

This object can be returned by 4 functions.

account.UploadTheme

Upload theme.

account.UploadRingtone

Upload notification sound, use account.saveRingtone to convert it and add it to the list of saved notification sounds.

messages.GetDocumentByHash

Get a document by its SHA256 hash, mainly used for gifs.

messages.GetCustomEmojiDocuments

Fetch custom emoji stickers.