12 const QString& fileName,
13 const QByteArray &data,
18 const QFileInfo &file,
TelegramSendDocument(const TelegramArgs &args, const QString &fileName, const QByteArray &data, const ExtraJsonObjects &extraObjects={})
The TelegramSendFile class Base clas for upload files to server.
QHash< QString, QSharedPointer< QJsonObject > > ExtraJsonObjects
ExtraJsonObjects hash map of the extra objects of the message.
The TelegramArgs class is base structure for the all tellegram message arguments.
#define TELEGRAM_DOCUMENT