58
58
qint64 deleteChatHistory(InputPeer inputPeer, qint32 offset = 0, bool deleteChat = false);
59
59
qint64 messagesSendMessage(InputPeer peer, const QString &message);
60
60
qint64 messagesSendPhoto(InputPeer peer, const QString &filePath);
61
62
qint64 messagesDeleteMessages(const QList<qint32> &msgIds, bool isSecret = false);
62
63
bool downloadPhoto(qint32 messageId);
63
64
qint64 sendVideo(qint32 peerId, const QString &videoFilePath, qint32 duration = 0, qint32 width = 0, qint32 height = 0, const QString &thumbnailFilePath = "");