qTbot
0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
Toggle main menu visibility
telegramdocument.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
#ifndef TELEGRAMDOCUMENT_H
10
#define TELEGRAMDOCUMENT_H
11
12
#include "
telegramfile.h
"
13
14
namespace
qTbot
{
15
19
class
QTBOT_EXPORT
TelegramDocument
:
public
TelegramFile
20
{
21
public
:
25
TelegramDocument
();
26
31
TelegramDocument
(
const
QJsonObject &jsonObject);
32
37
QString
fileName
()
const
;
38
43
QString
mimeType
()
const
;
44
45
};
46
}
47
#endif
// TELEGRAMDOCUMENT_H
qTbot::TelegramDocument::mimeType
QString mimeType() const
Returns the MIME type of the document.
Definition
telegramdocument.cpp:23
qTbot::TelegramDocument::TelegramDocument
TelegramDocument()
TelegramDocument default constructor.
Definition
telegramdocument.cpp:12
qTbot::TelegramDocument::fileName
QString fileName() const
Returns the file name of the document.
Definition
telegramdocument.cpp:19
qTbot::TelegramFile::TelegramFile
TelegramFile()
TelegramFile default constructor.
Definition
telegramfile.cpp:13
qTbot
Definition
telegramdeletemessage.cpp:8
telegramfile.h
src
qTbot
src
public
qTbot
messages
telegramdocument.h
Generated by
1.18.0