qTbot 0.2.123.6f57966
qTbot is base back end library for your c++ Qt projects.
telegramimage.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 TELEGRAMIMAGE_H
10#define TELEGRAMIMAGE_H
11
12#include "telegramfile.h"
13
14namespace qTbot {
15
19class QTBOT_EXPORT TelegramImage: public TelegramFile
20{
21public:
26
31 TelegramImage(const QJsonObject &jsonObject);
32
37 int width() const;
38
43 int height() const;
44};
45}
46#endif // TELEGRAMIMAGE_H
TelegramFile()
TelegramFile default constructor.
int height() const
Returns the height of the photo.
TelegramImage()
TelegramImage default constructor.
int width() const
Returns the width of the photo.