2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

checking inline bot query on text change, not on cursor position change

This commit is contained in:
John Preston
2016-01-02 09:28:11 +08:00
parent d8b1df875e
commit 6fe380ff9f
5 changed files with 72 additions and 51 deletions

View File

@@ -451,6 +451,7 @@ public:
void destroyData();
void updateFieldPlaceholder();
void updateInlineBotQuery();
void uploadImage(const QImage &img, PrepareMediaType type, FileLoadForceConfirmType confirm = FileLoadNoForceConfirm, const QString &source = QString(), bool withText = false);
void uploadFile(const QString &file, PrepareMediaType type, FileLoadForceConfirmType confirm = FileLoadNoForceConfirm, bool withText = false); // with confirmation