Telebot
4.7.0
Library for Telegram bot API
|
This object represents a general file (as opposed to photos, voice messages and audio files). More...
#include <telebot-types.h>
Public Attributes | |
char * | file_id |
char * | file_unique_id |
struct telebot_photo * | thumb |
char * | file_name |
char * | mime_type |
int | file_size |
This object represents a general file (as opposed to photos, voice messages and audio files).
char* telebot_document::file_id |
Identifier for this file, which can be used to download or reuse the file
char* telebot_document::file_name |
Optional. Original filename as defined by sender.
int telebot_document::file_size |
Optional. File size.
char* telebot_document::file_unique_id |
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.
char* telebot_document::mime_type |
Optional. MIME type of the file as defined by sender.
struct telebot_photo* telebot_document::thumb |
Optional. Document thumbnail as defined by sender.