// 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_LANGPACK
#define LQTG_FNC_LANGPACK

#include "telegramfunctionobject.h"
#include "telegram/types/langpackdifference.h"
#include <QString>
#include <QList>
#include "telegram/types/langpackstring.h"
#include <QtGlobal>
#include "telegram/types/langpacklanguage.h"

namespace Tg {
namespace Functions {

class LIBQTELEGRAMSHARED_EXPORT Langpack : public TelegramFunctionObject
{
public:
    enum LangpackFunction {
        fncLangpackGetLangPack = 0x9ab5c58e,
        fncLangpackGetStrings = 0x2e1ee318,
        fncLangpackGetDifference = 0xb2e4d7d,
        fncLangpackGetLanguages = 0x800fd57d
    };

    Langpack();
    virtual ~Langpack();

    static bool getLangPack(OutboundPkt *out, const QString &langCode);
    static LangPackDifference getLangPackResult(InboundPkt *in);

    static bool getStrings(OutboundPkt *out, const QString &langCode, const QList<QString> &keys);
    static QList<LangPackString> getStringsResult(InboundPkt *in);

    static bool getDifference(OutboundPkt *out, qint32 fromVersion);
    static LangPackDifference getDifferenceResult(InboundPkt *in);

    static bool getLanguages(OutboundPkt *out);
    static QList<LangPackLanguage> getLanguagesResult(InboundPkt *in);

};

}
}

#endif // LQTG_FNC_LANGPACK
