tgbot-cpp
TgBot::Audio Class Reference

This object represents an audio file (voice note). More...

#include <Audio.h>

Public Types

typedef std::shared_ptr< AudioPtr
 

Public Attributes

std::string fileId
 Unique identifier for this file. More...
 
int32_t duration
 Duration of the audio in seconds as defined by sender. More...
 
std::string performer
 Optional. Performer of the audio as defined by sender or by audio tags. More...
 
std::string title
 Optional. Title of the audio as defined by sender or by audio tags. More...
 
std::string mimeType
 Optional. MIME type of the file as defined by sender. More...
 
int32_t fileSize
 Optional. File size. More...
 

Detailed Description

This object represents an audio file (voice note).

Definition at line 36 of file Audio.h.

Member Typedef Documentation

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

Definition at line 39 of file Audio.h.

Member Data Documentation

int32_t TgBot::Audio::duration

Duration of the audio in seconds as defined by sender.

Definition at line 49 of file Audio.h.

std::string TgBot::Audio::fileId

Unique identifier for this file.

Definition at line 44 of file Audio.h.

int32_t TgBot::Audio::fileSize

Optional. File size.

Definition at line 71 of file Audio.h.

std::string TgBot::Audio::mimeType

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

Definition at line 66 of file Audio.h.

std::string TgBot::Audio::performer

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

Definition at line 55 of file Audio.h.

std::string TgBot::Audio::title

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

Definition at line 61 of file Audio.h.


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