qTbot 0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
telegramaudio.h
Go to the documentation of this file.
1//#
2//# Copyright (C) 2023-2024 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
15namespace qTbot {
16
21{
22public:
28 TelegramAudio(const QJsonObject &jsonObject);
29
34 int duration() const;
35
40 QString fileName() const;
41
46 QString mimeType() const;
47
48};
49}
50#endif // TELEGRAMAUDIO_H
The TelegramAudio class This is implementation of the audio objects of telegram.
The TelegramFile class is base class for all files.
#define QTBOT_EXPORT
Definition global.h:18