qTbot
0.2.107.a882573
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
telegramgetupdate.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
8
9
#include "
telegramgetupdate.h
"
10
11
namespace
qTbot
{
12
13
TelegramGetUpdate::TelegramGetUpdate
(
unsigned
long
long
offset):
TelegramSingleRquest
(
"getUpdates"
){
14
addArg
(
"offset"
, offset);
15
addArg
(
"timeout"
, 30);
16
setPriority
(
UngeredPriority
);
17
18
}
13
TelegramGetUpdate::TelegramGetUpdate
(
unsigned
long
long
offset):
TelegramSingleRquest
(
"getUpdates"
) {
…
}
19
}
qTbot::TelegramGetUpdate::TelegramGetUpdate
TelegramGetUpdate(unsigned long long offset=0)
TelegramGetUpdate send request for updates. You will get response on immediacy or after 60 seconds if...
Definition
telegramgetupdate.cpp:13
qTbot::TelegramSingleRquest
The TelegramSingleRquest class Is base class for all single requests commands with arguments.
Definition
telegramsinglerquest.h:37
qTbot::iRequest::addArg
void addArg(const QString &key, const QVariant &val)
addArg This method push new arg, to arguments list
Definition
irequest.cpp:34
qTbot::iRequest::setPriority
void setPriority(RequestPriority newPriority)
Definition
irequest.cpp:98
qTbot::iRequest::UngeredPriority
@ UngeredPriority
Definition
irequest.h:57
qTbot
Definition
telegramdeletemessage.cpp:8
telegramgetupdate.h
src
qTbot
src
private
requests
telegramgetupdate.cpp
Generated by
1.9.8