// 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_HELP
#define LQTG_FNC_HELP

#include "telegramfunctionobject.h"
#include "telegram/types/config.h"
#include "telegram/types/nearestdc.h"
#include "telegram/types/helpappupdate.h"
#include <QString>
#include <QList>
#include "telegram/types/inputappevent.h"
#include "telegram/types/helpinvitetext.h"
#include "telegram/types/helpsupport.h"

namespace Tg {
namespace Functions {

class LIBQTELEGRAMSHARED_EXPORT Help : public TelegramFunctionObject
{
public:
    enum HelpFunction {
        fncHelpGetConfig = 0xc4f9186b,
        fncHelpGetNearestDc = 0x1fb33026,
        fncHelpGetAppUpdate = 0xc812ac7e,
        fncHelpSaveAppLog = 0x6f02f748,
        fncHelpGetInviteText = 0xa4a95186,
        fncHelpGetSupport = 0x9cdf08cd
    };

    Help();
    virtual ~Help();

    static bool getConfig(OutboundPkt *out);
    static Config getConfigResult(InboundPkt *in);

    static bool getNearestDc(OutboundPkt *out);
    static NearestDc getNearestDcResult(InboundPkt *in);

    static bool getAppUpdate(OutboundPkt *out, const QString &deviceModel, const QString &systemVersion, const QString &appVersion, const QString &langCode);
    static HelpAppUpdate getAppUpdateResult(InboundPkt *in);

    static bool saveAppLog(OutboundPkt *out, const QList<InputAppEvent> &events);
    static bool saveAppLogResult(InboundPkt *in);

    static bool getInviteText(OutboundPkt *out, const QString &langCode);
    static HelpInviteText getInviteTextResult(InboundPkt *in);

    static bool getSupport(OutboundPkt *out);
    static HelpSupport getSupportResult(InboundPkt *in);

};

}
}

#endif // LQTG_FNC_HELP
