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

This object represents a voice note. More...

#include <telebot-types.h>

Public Attributes

char * file_id
 
char * file_unique_id
 
int duration
 
char * mime_type
 
int file_size
 

Detailed Description

This object represents a voice note.

Member Data Documentation

◆ duration

int telebot_voice::duration

Duration of the audio in seconds as defined by sender

◆ file_id

char* telebot_voice::file_id

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

◆ file_size

int telebot_voice::file_size

Optional. File size

◆ file_unique_id

char* telebot_voice::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_voice::mime_type

Optional. MIME type of the file as defined by sender


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