- class telegram.Document(*args, **kwargs)¶
This object represents a general file (as opposed to photos, voice messages and audio files).
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can’t be used to download or reuse the file.