1#ifndef TGBOT_DOCUMENT_H
2#define TGBOT_DOCUMENT_H
20 typedef std::shared_ptr<Document>
Ptr;
This object represents a general file (as opposed to photos, voice messages and audio files).
std::string fileName
Optional. Original filename as defined by sender.
PhotoSize::Ptr thumbnail
Optional. Document thumbnail as defined by sender.
std::int64_t fileSize
Optional. File size in bytes.
std::string fileId
Identifier for this file, which can be used to download or reuse the file.
std::string fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots....
std::string mimeType
Optional. MIME type of the file as defined by sender.
std::shared_ptr< Document > Ptr
std::shared_ptr< PhotoSize > Ptr