Document

A document.

Constructors

Constructor Description
documentEmpty Empty constructor, document doesn't exist.
document Document

Methods

Method Description
messages.getDocumentByHash Get a document by its SHA256 hash, mainly used for gifs
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.