tgbot-cpp
TgBot::Audio Class Reference

#include <Audio.h>

Public Types

typedef std::shared_ptr< AudioPtr
 

Public Attributes

std::string fileId
 
int32_t duration
 
std::string performer
 
std::string title
 
std::string mimeType
 
int32_t fileSize
 

Detailed Description

This object represents an audio file (voice note).

Definition at line 35 of file Audio.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<Audio> TgBot::Audio::Ptr

Definition at line 38 of file Audio.h.

Member Data Documentation

◆ duration

int32_t TgBot::Audio::duration

Duration of the audio in seconds as defined by sender.

Definition at line 48 of file Audio.h.

◆ fileId

std::string TgBot::Audio::fileId

Unique identifier for this file.

Definition at line 43 of file Audio.h.

◆ fileSize

int32_t TgBot::Audio::fileSize

Optional. File size.

Definition at line 70 of file Audio.h.

◆ mimeType

std::string TgBot::Audio::mimeType

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

Definition at line 65 of file Audio.h.

◆ performer

std::string TgBot::Audio::performer

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

Definition at line 54 of file Audio.h.

◆ title

std::string TgBot::Audio::title

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

Definition at line 60 of file Audio.h.


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