// 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_BOT_TYPE_BOTFORCEREPLY
#define LQTG_BOT_TYPE_BOTFORCEREPLY

#include "telegrambottypeobject.h"

#include <QMetaType>
#include <QVariant>
#include "../coretypes.h"

#include <QDataStream>
#include <QDebug>


class LIBQTELEGRAMSHARED_EXPORT BotForceReply : public TelegramBotTypeObject
{
public:
    enum BotForceReplyClassType {
        typeTypeForceReply = 0xffa800
    };

    BotForceReply(const QMap<QString, QVariant> &map);
    BotForceReply(const Null &_null = TelegramBotTypeObject::null);
    BotForceReply(const BotForceReply &another);
    virtual ~BotForceReply();

    void setForceReply(bool forceReply);
    bool forceReply() const;

    void setSelective(bool selective);
    bool selective() const;

    void setClassType(BotForceReplyClassType classType);
    BotForceReplyClassType classType() const;

    QMap<QString, QVariant> toMap() const;
    void fromMap(const QMap<QString, QVariant> &map);
    bool operator ==(const BotForceReply &b) const;
    BotForceReply &operator =(const BotForceReply &b);

    bool operator==(bool stt) const { return isNull() != stt; }
    bool operator!=(bool stt) const { return !operator ==(stt); }

    QByteArray getHash(QCryptographicHash::Algorithm alg = QCryptographicHash::Md5) const;

private:
    bool m_forceReply;
    bool m_selective;
    BotForceReplyClassType m_classType;
};

Q_DECLARE_METATYPE(BotForceReply)

QDataStream LIBQTELEGRAMSHARED_EXPORT &operator<<(QDataStream &stream, const BotForceReply &item);
QDataStream LIBQTELEGRAMSHARED_EXPORT &operator>>(QDataStream &stream, BotForceReply &item);

QDebug LIBQTELEGRAMSHARED_EXPORT operator<<(QDebug debug,  const BotForceReply &item);

#endif // LQTG_BOT_TYPE_BOTFORCEREPLY
