tgbot-cpp
TgBot::Voice Class Reference

This object represents a voice note. More...

#include <Voice.h>

Public Types

typedef std::shared_ptr< VoicePtr
 

Public Attributes

std::string file_id
 Unique identifier for this file. More...
 
int32_t duration
 Duration of the audio in seconds as defined by sender. More...
 
std::string mime_type
 Optional. MIME type of the file as defined by sender;. More...
 
int32_t file_size
 Optional. File size. More...
 

Detailed Description

This object represents a voice note.

Definition at line 18 of file Voice.h.

Member Typedef Documentation

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

Definition at line 20 of file Voice.h.

Member Data Documentation

int32_t TgBot::Voice::duration

Duration of the audio in seconds as defined by sender.

Definition at line 30 of file Voice.h.

std::string TgBot::Voice::file_id

Unique identifier for this file.

Definition at line 25 of file Voice.h.

int32_t TgBot::Voice::file_size

Optional. File size.

Definition at line 40 of file Voice.h.

std::string TgBot::Voice::mime_type

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

Definition at line 35 of file Voice.h.


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