// 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_INPUTCONTACT
#define LQTG_TYPE_INPUTCONTACT

#include "telegramtypeobject.h"
#include <QtGlobal>
#include <QString>

class LIBQTELEGRAMSHARED_EXPORT InputContact : public TelegramTypeObject
{
public:
    enum InputContactType {
        typeInputPhoneContact = 0xf392b7f4
    };

    InputContact(InputContactType classType = typeInputPhoneContact, InboundPkt *in = 0);
    InputContact(InboundPkt *in);
    virtual ~InputContact();

    void setClientId(qint64 clientId);
    qint64 clientId() const;

    void setFirstName(const QString &firstName);
    QString firstName() const;

    void setLastName(const QString &lastName);
    QString lastName() const;

    void setPhone(const QString &phone);
    QString phone() const;

    void setClassType(InputContactType classType);
    InputContactType classType() const;

    bool fetch(InboundPkt *in);
    bool push(OutboundPkt *out) const;

    bool operator ==(const InputContact &b);

private:
    qint64 m_clientId;
    QString m_firstName;
    QString m_lastName;
    QString m_phone;
    InputContactType m_classType;
};

#endif // LQTG_TYPE_INPUTCONTACT
