// 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_BOTREPLYKEYBOARDREMOVE
#define LQTG_BOT_TYPE_BOTREPLYKEYBOARDREMOVE

#include "telegrambottypeobject.h"

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

#include <QDataStream>
#include <QDebug>


class LIBQTELEGRAMSHARED_EXPORT BotReplyKeyboardRemove : public TelegramBotTypeObject
{
public:
    enum BotReplyKeyboardRemoveClassType {
        typeTypeReplyKeyboardRemove = 0xffa800
    };

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

    void setRemoveKeyboard(bool removeKeyboard);
    bool removeKeyboard() const;

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

    void setClassType(BotReplyKeyboardRemoveClassType classType);
    BotReplyKeyboardRemoveClassType classType() const;

    QMap<QString, QVariant> toMap() const;
    void fromMap(const QMap<QString, QVariant> &map);
    bool operator ==(const BotReplyKeyboardRemove &b) const;
    BotReplyKeyboardRemove &operator =(const BotReplyKeyboardRemove &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_removeKeyboard;
    bool m_selective;
    BotReplyKeyboardRemoveClassType m_classType;
};

Q_DECLARE_METATYPE(BotReplyKeyboardRemove)

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

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

#endif // LQTG_BOT_TYPE_BOTREPLYKEYBOARDREMOVE
