tgbot-cpp
TgBot::Document Class Reference

This object represents a general file (as opposed to photos and audio files). More...

#include <Document.h>

Public Types

typedef std::shared_ptr< DocumentPtr
 

Public Attributes

std::string fileId
 Unique file identifier. More...
 
PhotoSize::Ptr thumb
 Optional. Document thumbnail as defined by sender. More...
 
std::string fileName
 Optional. Original filename as defined by sender. More...
 
std::string mimeType
 Optional. MIME type of the file as defined by sender. More...
 
int32_t fileSize
 Optional. File size. More...
 

Detailed Description

This object represents a general file (as opposed to photos and audio files).

Definition at line 38 of file Document.h.

Member Typedef Documentation

typedef std::shared_ptr<Document> TgBot::Document::Ptr

Definition at line 41 of file Document.h.

Member Data Documentation

std::string TgBot::Document::fileId

Unique file identifier.

Definition at line 46 of file Document.h.

std::string TgBot::Document::fileName

Optional. Original filename as defined by sender.

Definition at line 56 of file Document.h.

int32_t TgBot::Document::fileSize

Optional. File size.

Definition at line 66 of file Document.h.

std::string TgBot::Document::mimeType

Optional. MIME type of the file as defined by sender.

Definition at line 61 of file Document.h.

PhotoSize::Ptr TgBot::Document::thumb

Optional. Document thumbnail as defined by sender.

Definition at line 51 of file Document.h.


The documentation for this class was generated from the following file: