Cppgram  1.0.0
Easy and modern C++14 Telegram Bot API wrapper
Public Attributes | List of all members
Document Class Reference

A document send by a user. More...

#include <document.hpp>

Public Attributes

std::string file_id
 Unique file identifier.
 
std::experimental::optional< PhotoSizethumb
 Optional. Document thumbnail as defined by sender
 
std::experimental::optional< std::string > file_name
 Optional. Original filename as defined by sender
 
std::experimental::optional< std::string > mime_type
 Optional. MIME type of the file as defined by sender
 
std::experimental::optional< int_fast32_t > file_size
 Optional. File size
 

Detailed Description

A document send by a user.

This object represents a general file (as opposed to photos, voice messages and audio files). Api reference


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