tgbot-cpp
TgBot::Voice Class Reference

#include <Voice.h>

Public Types

typedef std::shared_ptr< VoicePtr
 

Public Attributes

std::string file_id
 
int32_t duration
 
std::string mime_type
 
int32_t file_size
 

Detailed Description

This object represents a voice note.

Definition at line 17 of file Voice.h.

Member Typedef Documentation

◆ Ptr

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

Definition at line 19 of file Voice.h.

Member Data Documentation

◆ duration

int32_t TgBot::Voice::duration

Duration of the audio in seconds as defined by sender.

Definition at line 29 of file Voice.h.

◆ file_id

std::string TgBot::Voice::file_id

Unique identifier for this file.

Definition at line 24 of file Voice.h.

◆ file_size

int32_t TgBot::Voice::file_size

Optional. File size.

Definition at line 39 of file Voice.h.

◆ mime_type

std::string TgBot::Voice::mime_type

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

Definition at line 34 of file Voice.h.


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