DocumentEmpty

class pyrogram.raw.types.DocumentEmpty

Empty constructor, document doesn’t exist.

Constructor of Document.

Details:
  • Layer: 194

  • ID: 36F8C871

Parameters:

id (int 64-bit) – Document ID or 0

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 ».