settings_quick_replies.h 541 B

12345678910111213141516171819202122232425
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. #include "settings/settings_type.h"
  9. namespace Ui {
  10. class GenericBox;
  11. } // namespace Ui
  12. namespace Settings {
  13. [[nodiscard]] Type QuickRepliesId();
  14. void EditShortcutNameBox(
  15. not_null<Ui::GenericBox*> box,
  16. QString name,
  17. Fn<void(QString, Fn<void()>)> submit);
  18. } // namespace Settings