qTbot
0.2.109.b8bcf53
qTbot is base back end library for your c++ Qt projects.
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
~
Variables
a
c
d
e
i
l
m
p
r
s
t
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
Functions
Macros
telegramsenddocument.cpp
Go to the documentation of this file.
1
//#
2
//# Copyright (C) 2023-2025 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
#include "
telegramsenddocument.h
"
8
9
namespace
qTbot
{
10
11
TelegramSendDocument::TelegramSendDocument
(
const
TelegramArgs
&args,
12
const
QString& fileName,
13
const
QByteArray &data,
14
const
ExtraJsonObjects
&extraObjects):
15
TelegramSendFile
(
"sendDocument"
, fileName,
TELEGRAM_DOCUMENT
, data, args, extraObjects) {}
11
TelegramSendDocument::TelegramSendDocument
(
const
TelegramArgs
&args, {
…
}
16
17
TelegramSendDocument::TelegramSendDocument
(
const
TelegramArgs
&args,
18
const
QFileInfo &file,
19
const
ExtraJsonObjects
&extraObjects):
20
TelegramSendFile
(
"sendDocument"
, file, args, extraObjects) {}
17
TelegramSendDocument::TelegramSendDocument
(
const
TelegramArgs
&args, {
…
}
21
22
}
qTbot::TelegramSendDocument::TelegramSendDocument
TelegramSendDocument(const TelegramArgs &args, const QString &fileName, const QByteArray &data, const ExtraJsonObjects &extraObjects={})
Definition
telegramsenddocument.cpp:11
qTbot::TelegramSendFile
The TelegramSendFile class Base clas for upload files to server.
Definition
telegramsendfile.h:24
qTbot
Definition
telegramdeletemessage.cpp:8
qTbot::ExtraJsonObjects
QHash< QString, QSharedPointer< QJsonObject > > ExtraJsonObjects
ExtraJsonObjects hash map of the extra objects of the message.
Definition
irequest.h:26
qTbot::TelegramArgs
The TelegramArgs class is base structure for the all tellegram message arguments.
Definition
telegramargs.h:21
telegramsenddocument.h
TELEGRAM_DOCUMENT
#define TELEGRAM_DOCUMENT
Definition
telegramsendfile.h:16
src
qTbot
src
private
requests
telegramsenddocument.cpp
Generated by
1.9.8