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

This object represents an audio file to be treated as music by the Telegram clients. More...

#include <telebot-types.h>

Public Attributes

char * file_id
 
char * file_unique_id
 
int duration
 
char * performer
 
char * title
 
char * mime_type
 
int file_size
 
struct telebot_photothumb
 

Detailed Description

This object represents an audio file to be treated as music by the Telegram clients.

Member Data Documentation

◆ duration

int telebot_audio::duration

Duration of the audio in seconds as defined by sender

◆ file_id

char* telebot_audio::file_id

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

◆ file_size

int telebot_audio::file_size

Optional. File size

◆ file_unique_id

char* telebot_audio::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_audio::mime_type

Optional. MIME type of the file as defined by sender

◆ performer

char* telebot_audio::performer

Optional. Performer of the audio as defined by sender or by audio tags

◆ thumb

struct telebot_photo* telebot_audio::thumb

Optional. Thumbnail of the album cover to which the music file belongs

◆ title

char* telebot_audio::title

Optional. Title of the audio as defined by sender or by audio tags


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