Cppgram  1.0.0
Easy and modern C++14 Telegram Bot API wrapper
Public Attributes | List of all members
Voice Class Reference

#include <voice.hpp>

Public Attributes

std::string file_id
 
uint_fast32_t duration
 
std::experimental::optional< std::string > mime_type
 
std::experimental::optional< uint_fast32_t > file_size
 

Detailed Description

This object represents a voice note. (https://core.telegram.org/bots/api#voice)

Member Data Documentation

◆ duration

uint_fast32_t duration

Duration of the audio in seconds as defined by sender

◆ file_id

std::string file_id

Unique identifier for this file

◆ file_size

std::experimental::optional<uint_fast32_t> file_size

Optional. File size

◆ mime_type

std::experimental::optional<std::string> mime_type

Optional. MIME type of the file as defined by sender


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