info_profile_phone_menu.h 546 B

123456789101112131415161718192021222324
  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. class UserData;
  9. namespace Ui {
  10. class PopupMenu;
  11. } // namespace Ui
  12. namespace Info {
  13. namespace Profile {
  14. [[nodiscard]] bool IsCollectiblePhone(not_null<UserData*> user);
  15. void AddPhoneMenu(not_null<Ui::PopupMenu*> menu, not_null<UserData*> user);
  16. } // namespace Profile
  17. } // namespace Info