38 const QByteArray &rawData()
const;
44 virtual void setRawData(
const QByteArray &newRawData);
50 virtual bool isValid()
const;
56 virtual QString
from()
const = 0;
68 virtual unsigned long long updateId()
const = 0;
The iMessage class - is main interface for all messages objects.
virtual QVariant chatId() const =0
from This virtual function should return name of the chat when sent this message to bot.
virtual unsigned long long updateId() const =0
updateId This method returns numeric id of the update.
virtual QString from() const =0
from This virtual function should return name of the user that sent this message to bot.