// 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_TYPE_EXPORTEDCHATINVITE_OBJECT
#define LQTG_TYPE_EXPORTEDCHATINVITE_OBJECT

#include "telegramtypeqobject.h"
#include "telegram/types/exportedchatinvite.h"

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT ExportedChatInviteObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(ExportedChatInviteClassType)
    Q_PROPERTY(QString link READ link WRITE setLink NOTIFY linkChanged)
    Q_PROPERTY(ExportedChatInvite core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum ExportedChatInviteClassType {
        TypeChatInviteEmpty,
        TypeChatInviteExported
    };

    ExportedChatInviteObject(const ExportedChatInvite &core, QObject *parent = 0);
    ExportedChatInviteObject(QObject *parent = 0);
    virtual ~ExportedChatInviteObject();

    void setLink(const QString &link);
    QString link() const;

    void setClassType(quint32 classType);
    quint32 classType() const;

    void setCore(const ExportedChatInvite &core);
    ExportedChatInvite core() const;

    ExportedChatInviteObject &operator =(const ExportedChatInvite &b);
    bool operator ==(const ExportedChatInvite &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void linkChanged();

private Q_SLOTS:

private:
    ExportedChatInvite m_core;
};

#endif // LQTG_TYPE_EXPORTEDCHATINVITE_OBJECT
