// 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_BOTINPUTMESSAGECONTENT
#define LQTG_BOT_TYPE_BOTINPUTMESSAGECONTENT

#include "telegrambottypeobject.h"

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

#include <QDataStream>
#include <QDebug>

#include <QString>
#include <QtGlobal>

class LIBQTELEGRAMSHARED_EXPORT BotInputMessageContent : public TelegramBotTypeObject
{
public:
    enum BotInputMessageContentClassType {
        typeTypeInputTextMessageContent = 0xffa800,
        typeTypeInputLocationMessageContent = 0xffa800,
        typeTypeInputVenueMessageContent = 0xffa800,
        typeTypeInputContactMessageContent = 0xffa800
    };

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

    void setAddress(const QString &address);
    QString address() const;

    void setDisableWebPagePreview(bool disableWebPagePreview);
    bool disableWebPagePreview() const;

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

    void setFoursquareId(const QString &foursquareId);
    QString foursquareId() const;

    void setLangitude(qreal langitude);
    qreal langitude() const;

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

    void setLatitude(qreal latitude);
    qreal latitude() const;

    void setMessageText(const QString &messageText);
    QString messageText() const;

    void setParseMode(const QString &parseMode);
    QString parseMode() const;

    void setPhoneNumber(const QString &phoneNumber);
    QString phoneNumber() const;

    void setTitle(const QString &title);
    QString title() const;

    void setClassType(BotInputMessageContentClassType classType);
    BotInputMessageContentClassType classType() const;

    QMap<QString, QVariant> toMap() const;
    void fromMap(const QMap<QString, QVariant> &map);
    bool operator ==(const BotInputMessageContent &b) const;
    BotInputMessageContent &operator =(const BotInputMessageContent &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:
    QString m_address;
    bool m_disableWebPagePreview;
    QString m_firstName;
    QString m_foursquareId;
    qreal m_langitude;
    QString m_lastName;
    qreal m_latitude;
    QString m_messageText;
    QString m_parseMode;
    QString m_phoneNumber;
    QString m_title;
    BotInputMessageContentClassType m_classType;
};

Q_DECLARE_METATYPE(BotInputMessageContent)

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

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

#endif // LQTG_BOT_TYPE_BOTINPUTMESSAGECONTENT
