2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

support of bots added to megagroups

This commit is contained in:
John Preston
2015-11-20 16:34:37 +03:00
parent 417024e6d2
commit ecc49f9cd4
13 changed files with 166 additions and 31 deletions

View File

@@ -95,6 +95,8 @@ public:
int32 historyDrawTop() const;
int32 itemTop(const HistoryItem *item) const; // -1 if should not be visible, -2 if bad history()
void notifyIsBotChanged();
~HistoryInner();
public slots:
@@ -555,6 +557,9 @@ public:
resizeEvent(0);
}
void notifyBotCommandsChanged(UserData *user);
void notifyUserIsBotChanged(UserData *user);
~HistoryWidget();
signals:
@@ -649,7 +654,6 @@ public slots:
void onDraftSave(bool delayed = false);
void updateStickers();
void botCommandsChanged(UserData *user);
void onRecordError();
void onRecordDone(QByteArray result, qint32 samples);