// This file generated by libqtelegram-code-generator.
// You can download it from: https://github.com/Aseman-Land/libqtelegram-code-generator
// DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

#ifndef LQTG_FNC_BOTS
#define LQTG_FNC_BOTS

#include "telegramfunctionobject.h"
#include "telegram/types/datajson.h"
#include <QString>
#include <QtGlobal>

namespace Tg {
namespace Functions {

class LIBQTELEGRAMSHARED_EXPORT Bots : public TelegramFunctionObject
{
public:
    enum BotsFunction {
        fncBotsSendCustomRequest = 0xaa2769ed,
        fncBotsAnswerWebhookJSONQuery = 0xe6213f4d
    };

    Bots();
    virtual ~Bots();

    static bool sendCustomRequest(OutboundPkt *out, const QString &customMethod, const DataJSON &params);
    static DataJSON sendCustomRequestResult(InboundPkt *in);

    static bool answerWebhookJSONQuery(OutboundPkt *out, qint64 queryId, const DataJSON &data);
    static bool answerWebhookJSONQueryResult(InboundPkt *in);

};

}
}

#endif // LQTG_FNC_BOTS
