tgbot-cpp
TgBot::Document Class Reference

#include <Document.h>

Public Types

typedef std::shared_ptr< DocumentPtr
 

Public Attributes

std::string fileId
 
PhotoSize::Ptr thumb
 
std::string fileName
 
std::string mimeType
 
int32_t fileSize
 

Detailed Description

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

Definition at line 37 of file Document.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 40 of file Document.h.

Member Data Documentation

◆ fileId

std::string TgBot::Document::fileId

Unique file identifier.

Definition at line 45 of file Document.h.

◆ fileName

std::string TgBot::Document::fileName

Optional. Original filename as defined by sender.

Definition at line 55 of file Document.h.

◆ fileSize

int32_t TgBot::Document::fileSize

Optional. File size.

Definition at line 65 of file Document.h.

◆ mimeType

std::string TgBot::Document::mimeType

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

Definition at line 60 of file Document.h.

◆ thumb

PhotoSize::Ptr TgBot::Document::thumb

Optional. Document thumbnail as defined by sender.

Definition at line 50 of file Document.h.


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