Telebot  4.7.0
Library for Telegram bot API
Public Attributes | List of all members
telebot_document Struct Reference

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_photothumb
 
char * file_name
 
char * mime_type
 
int file_size
 

Detailed Description

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

Member Data Documentation

◆ file_id

char* telebot_document::file_id

Identifier for this file, which can be used to download or reuse the file

◆ file_name

char* telebot_document::file_name

Optional. Original filename as defined by sender.

◆ file_size

int telebot_document::file_size

Optional. File size.

◆ file_unique_id

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.

◆ mime_type

char* telebot_document::mime_type

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

◆ thumb

struct telebot_photo* telebot_document::thumb

Optional. Document thumbnail as defined by sender.


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