mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Read and autocomplete templates (support).
This commit is contained in:
@@ -21,6 +21,7 @@ enum class InputSubmitSettings;
|
||||
|
||||
namespace Support {
|
||||
enum class SwitchSettings;
|
||||
class Templates;
|
||||
} // namespace Support
|
||||
|
||||
namespace Data {
|
||||
@@ -295,6 +296,7 @@ public:
|
||||
base::Observable<std::pair<not_null<HistoryItem*>, MsgId>> messageIdChanging;
|
||||
|
||||
bool supportMode() const;
|
||||
not_null<Support::Templates*> supportTemplates() const;
|
||||
|
||||
~AuthSession();
|
||||
|
||||
@@ -321,6 +323,8 @@ private:
|
||||
// _changelogs depends on _data, subscribes on chats loading event.
|
||||
const std::unique_ptr<Core::Changelogs> _changelogs;
|
||||
|
||||
const std::unique_ptr<Support::Templates> _supportTemplates;
|
||||
|
||||
rpl::lifetime _lifetime;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user