// 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_MESSAGESCHATFULL_OBJECT
#define LQTG_TYPE_MESSAGESCHATFULL_OBJECT

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

#include <QPointer>
#include "chatfullobject.h"

class LIBQTELEGRAMSHARED_EXPORT MessagesChatFullObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(MessagesChatFullClassType)
    Q_PROPERTY(QList<Chat> chats READ chats WRITE setChats NOTIFY chatsChanged)
    Q_PROPERTY(ChatFullObject* fullChat READ fullChat WRITE setFullChat NOTIFY fullChatChanged)
    Q_PROPERTY(QList<User> users READ users WRITE setUsers NOTIFY usersChanged)
    Q_PROPERTY(MessagesChatFull core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum MessagesChatFullClassType {
        TypeMessagesChatFull
    };

    MessagesChatFullObject(const MessagesChatFull &core, QObject *parent = 0);
    MessagesChatFullObject(QObject *parent = 0);
    virtual ~MessagesChatFullObject();

    void setChats(const QList<Chat> &chats);
    QList<Chat> chats() const;

    void setFullChat(ChatFullObject* fullChat);
    ChatFullObject* fullChat() const;

    void setUsers(const QList<User> &users);
    QList<User> users() const;

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

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

    MessagesChatFullObject &operator =(const MessagesChatFull &b);
    bool operator ==(const MessagesChatFull &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void chatsChanged();
    void fullChatChanged();
    void usersChanged();

private Q_SLOTS:
    void coreFullChatChanged();

private:
    QPointer<ChatFullObject> m_fullChat;
    MessagesChatFull m_core;
};

#endif // LQTG_TYPE_MESSAGESCHATFULL_OBJECT
