qTbot
0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
Toggle main menu visibility
telegramaudio.h
Go to the documentation of this file.
1
//#
2
//# Copyright (C) 2023-2026 QuasarApp.
3
//# Distributed under the GPLv3 software license, see the accompanying
4
//# Everyone is permitted to copy and distribute verbatim copies
5
//# of this license document, but changing it is not allowed.
6
//#
7
8
9
10
#ifndef TELEGRAMAUDIO_H
11
#define TELEGRAMAUDIO_H
12
13
#include "
telegramfile.h
"
14
15
namespace
qTbot
{
16
20
class
QTBOT_EXPORT
TelegramAudio
:
public
TelegramFile
21
{
22
public
:
26
TelegramAudio
();
27
32
TelegramAudio
(
const
QJsonObject &jsonObject);
33
38
int
duration
()
const
;
39
44
QString
fileName
()
const
;
45
50
QString
mimeType
()
const
;
51
52
};
53
}
54
#endif
// TELEGRAMAUDIO_H
qTbot::TelegramAudio::fileName
QString fileName() const
Returns the file name of the audio.
Definition
telegramaudio.cpp:22
qTbot::TelegramAudio::duration
int duration() const
Returns the duration of the audio in seconds.
Definition
telegramaudio.cpp:18
qTbot::TelegramAudio::mimeType
QString mimeType() const
Returns the MIME type of the audio.
Definition
telegramaudio.cpp:26
qTbot::TelegramAudio::TelegramAudio
TelegramAudio()
TelegramAudio default constructor.
Definition
telegramaudio.cpp:11
qTbot::TelegramFile::TelegramFile
TelegramFile()
TelegramFile default constructor.
Definition
telegramfile.cpp:13
qTbot
Definition
telegramdeletemessage.cpp:8
telegramfile.h
src
qTbot
src
public
qTbot
messages
telegramaudio.h
Generated by
1.18.0