15 const QString &fileName,
16 const QByteArray &data,
21 const QFileInfo &file,
The TelegramSendFile class Base clas for upload files to server.
TelegramSendPhoto(const TelegramArgs &args, const QString &fileName, const QByteArray &data, const ExtraJsonObjects &extraObjects={})
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.