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

Audio message sent by a user. More...

#include <audio.hpp>

Public Attributes

std::string file_id
 Unique identifier for this file.
 
uint_fast32_t duration
 Duration of the audio in seconds as defined by sender.
 
std::experimental::optional< std::string > performer
 Optional. Performer of the audio as defined by sender or by audio tags
 
std::experimental::optional< std::string > title
 Optional. Title of the audio as defined by sender or by audio tags
 
std::experimental::optional< std::string > mime_type
 Optional. MIME type of the file as defined by sender
 
std::experimental::optional< uint_fast32_t > file_size
 Optional. File size
 

Detailed Description

Audio message sent by a user.

This object represents an audio file to be treated as music by the Telegram clients. (https://core.telegram.org/bots/api#audio)


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