qTbot
0.89.ee6949a
qTbot is base back end library for your c++ Qt projects.
telegramgetupdate.cpp
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
#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
17
}
18
}
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
Definition
telegramdeletemessage.cpp:8
telegramgetupdate.h
src
qTbot
src
private
requests
telegramgetupdate.cpp
Generated by
1.9.8