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
11namespace qTbot {
12
13TelegramGetUpdate::TelegramGetUpdate(unsigned long long offset): TelegramSingleRquest("getUpdates"){
14 addArg("offset", offset);
15 addArg("timeout", 30);
16
17}
18}
TelegramGetUpdate(unsigned long long offset=0)
TelegramGetUpdate send request for updates. You will get response on immediacy or after 60 seconds if...
The TelegramSingleRquest class Is base class for all single requests commands with arguments.
void addArg(const QString &key, const QVariant &val)
addArg This method push new arg, to arguments list
Definition irequest.cpp:34